build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. //apply plugin: 'com.github.dcendents.android-maven'
  4. android {
  5. compileSdkVersion 29
  6. defaultConfig {
  7. minSdkVersion 14
  8. targetSdkVersion 29
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.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. implementation fileTree(dir: 'libs', include: ['*.jar'])
  22. implementation 'androidx.appcompat:appcompat:1.2.0'
  23. testImplementation 'junit:junit:4.13'
  24. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  25. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  26. implementation "androidx.core:core-ktx:1.3.2"
  27. implementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.30"
  28. }
  29. apply from: 'bintrayUpload.gradle'
  30. repositories {
  31. mavenCentral()
  32. }