build.gradle 1.1 KB

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