build.gradle 1011 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. android {
  4. compileSdkVersion 30
  5. defaultConfig {
  6. minSdkVersion 15
  7. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  8. }
  9. buildTypes {
  10. release {
  11. minifyEnabled false
  12. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  13. }
  14. }
  15. lintOptions {
  16. abortOnError false
  17. checkReleaseBuilds false
  18. }
  19. }
  20. dependencies {
  21. implementation fileTree(dir: 'libs', include: ['*.jar'])
  22. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  23. implementation 'androidx.appcompat:appcompat:1.0.2'
  24. testImplementation 'junit:junit:4.12'
  25. androidTestImplementation 'androidx.test:runner:1.1.0'
  26. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
  27. implementation "androidx.core:core-ktx:1.5.0"
  28. implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.5.30'
  29. }
  30. repositories {
  31. }