build.gradle 956 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. android {
  4. compileSdkVersion 28
  5. defaultConfig {
  6. minSdkVersion 21
  7. targetSdkVersion 28
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19. dependencies {
  20. implementation fileTree(dir: 'libs', include: ['*.jar'])
  21. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  22. implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
  23. testImplementation 'junit:junit:4.12'
  24. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  25. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  26. }
  27. repositories {
  28. mavenCentral()
  29. }