build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. preRelease {
  18. minifyEnabled false
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility JavaVersion.VERSION_1_8
  23. targetCompatibility JavaVersion.VERSION_1_8
  24. }
  25. sourceSets {
  26. main {
  27. res.srcDirs += "src/main/res-minimalistui"
  28. res.srcDirs += "src/main/res-light"
  29. res.srcDirs += "src/main/res-lively"
  30. res.srcDirs += "src/main/res-serious"
  31. }
  32. }
  33. }
  34. afterEvaluate {
  35. generateReleaseBuildConfig.enabled = false
  36. generateDebugBuildConfig.enabled = false
  37. }
  38. dependencies {
  39. /*plugin-build-Begin
  40. compileOnly fileTree(include: ['*.jar','*.aar'], dir: '../../../../tuikit/android/libs')
  41. plugin-build-End*/
  42. implementation 'androidx.appcompat:appcompat:1.3.0'
  43. implementation 'com.google.android.material:material:1.3.0'
  44. implementation 'com.google.code.gson:gson:2.9.1'
  45. api project(':timcommon')
  46. }