build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion 30
  6. buildToolsVersion "30.0.1"
  7. defaultConfig {
  8. applicationId "com.edufound.ott.zijie.yuwen"
  9. minSdkVersion 24
  10. targetSdkVersion 30
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. }
  22. dependencies {
  23. implementation fileTree(dir: "libs", include: ["*.jar"])
  24. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  25. implementation 'androidx.core:core-ktx:1.3.1'
  26. implementation 'androidx.appcompat:appcompat:1.2.0'
  27. testImplementation 'junit:junit:4.12'
  28. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  29. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  30. }