build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdk = 36
  4. defaultConfig {
  5. applicationId "com.example.functiontest"
  6. minSdk = 28
  7. targetSdk = 36
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. namespace = 'com.example.functiontest'
  19. compileOptions {
  20. targetCompatibility JavaVersion.VERSION_11
  21. sourceCompatibility JavaVersion.VERSION_11
  22. }
  23. gradle.projectsEvaluated {
  24. tasks.withType(JavaCompile) {
  25. // options.compilerArgs << "-Xlint:deprecation"
  26. options.compilerArgs << "-Xlint:unchecked"
  27. }
  28. }
  29. }
  30. dependencies {
  31. implementation fileTree(dir: "libs", include: ["*.jar"])
  32. implementation 'androidx.appcompat:appcompat:1.6.1'
  33. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  34. // testImplementation 'junit:junit:4.13.2'
  35. // androidTestImplementation 'androidx.test.ext:junit:1.1.4'
  36. // androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
  37. implementation project(path: ':RAUtilsLibrary')
  38. }