build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. android {
  4. compileSdkVersion 30
  5. defaultConfig {
  6. applicationId "com.example.colormyviews"
  7. minSdkVersion 19
  8. targetSdkVersion 30
  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-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. }
  20. dependencies {
  21. implementation fileTree(dir: 'libs', include: ['*.jar'])
  22. implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  23. implementation 'androidx.appcompat:appcompat:1.2.0'
  24. implementation 'androidx.core:core-ktx:1.3.2'
  25. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  26. testImplementation 'junit:junit:4.13.1'
  27. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  28. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  29. }