You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.1 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdkVersion 30
  6. buildToolsVersion "30.0.2"
  7. defaultConfig {
  8. applicationId "com.mindspore.lite.demo"
  9. minSdkVersion 19
  10. targetSdkVersion 30
  11. versionCode 1
  12. versionName "1.0"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. aaptOptions {
  25. noCompress = ['.so', '.ms', '.bin', '.jpg']
  26. }
  27. }
  28. repositories {
  29. flatDir {
  30. dirs 'libs'
  31. }
  32. }
  33. apply from: 'download.gradle'
  34. dependencies {
  35. implementation fileTree(dir: "libs", include: ['*.aar', '*.jar'])
  36. implementation 'androidx.appcompat:appcompat:1.2.0'
  37. implementation 'com.google.android.material:material:1.3.0'
  38. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  39. }