build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. apply plugin: 'com.android.application'
  2. android {
  3. namespace "org.tboox.xmake"
  4. compileSdkVersion 36
  5. defaultConfig {
  6. applicationId "org.tboox.xmake"
  7. minSdkVersion 30
  8. targetSdkVersion 36
  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. java {
  21. toolchain {
  22. languageVersion = JavaLanguageVersion.of(17)
  23. }
  24. }
  25. dependencies {
  26. implementation fileTree(dir: 'libs', include: ['*.jar'])
  27. implementation 'androidx.appcompat:appcompat:1.0.2'
  28. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  29. testImplementation 'junit:junit:4.12'
  30. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  31. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  32. implementation project(path: ':nativelib')
  33. }