build.gradle 934 B

12345678910111213141516171819202122232425262728293031
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 26
  4. buildToolsVersion "26.0.1"
  5. defaultConfig {
  6. applicationId "com.tedxiong.kotlin"
  7. minSdkVersion 16
  8. targetSdkVersion 26
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. }
  20. dependencies {
  21. compile fileTree(dir: 'libs', include: ['*.jar'])
  22. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  23. exclude group: 'com.android.support', module: 'support-annotations'
  24. })
  25. compile 'com.android.support:appcompat-v7:26.+'
  26. compile 'com.android.support.constraint:constraint-layout:1.0.2'
  27. testCompile 'junit:junit:4.12'
  28. }