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

50 lines
1.1KB

  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 30
  6. buildToolsVersion "30.0.3"
  7. defaultConfig {
  8. minSdkVersion 16
  9. targetSdkVersion 30
  10. versionCode 1
  11. versionName "1.0"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. }
  17. }
  18. compileOptions {
  19. sourceCompatibility JavaVersion.VERSION_1_8
  20. targetCompatibility JavaVersion.VERSION_1_8
  21. }
  22. sourceSets {
  23. main {
  24. res.srcDirs += "src/main/res-light"
  25. res.srcDirs += "src/main/res-lively"
  26. res.srcDirs += "src/main/res-serious"
  27. res.srcDirs += "src/main/res-minimalist"
  28. }
  29. }
  30. }
  31. afterEvaluate{
  32. generateReleaseBuildConfig.enabled =false
  33. generateDebugBuildConfig.enabled =false
  34. }
  35. dependencies {
  36. implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs')
  37. implementation 'androidx.appcompat:appcompat:1.3.0'
  38. implementation 'com.google.android.material:material:1.3.0'
  39. implementation 'com.google.code.gson:gson:2.8.7'
  40. api project(':tuicore')
  41. }