build.gradle 789 B

123456789101112131415161718192021222324252627282930
  1. import java.nio.file.Paths
  2. apply from: "../../Script/config.gradle"
  3. ext {
  4. codePath = Paths.get("$rootDir", "$rootDirName", "$systemUiPath", "plugin")
  5. }
  6. apply from: "$scriptPath/frameworks_module.gradle"
  7. apply from: frameworkDependencies
  8. apply plugin: 'kotlin-android'
  9. android {
  10. namespace 'com.android.systemui.plugins'
  11. sourceSets {
  12. main {
  13. java.srcDir "Code/bcsmartspace/src"
  14. }
  15. }
  16. kotlinOptions {
  17. jvmTarget = "1.8"
  18. }
  19. }
  20. dependencies {
  21. implementation "androidx.annotation:annotation:$ANDROID_X_VERSION_BASE"
  22. implementation 'com.google.errorprone:error_prone_annotations:2.26.1'
  23. implementation project(":$rootDirName:SystemUI:PluginCoreLib")
  24. implementation project(":$rootDirName:SystemUI:SystemUIAnimationLib")
  25. }