build.gradle 789 B

1234567891011121314151617181920212223242526272829
  1. apply from: "../../Script/config.gradle"
  2. ext {
  3. codePath = "$rootDir/$rootDirName/$systemUiPath/plugin"
  4. }
  5. apply from: "$scriptPath/frameworks_module.gradle"
  6. apply from: frameworkDependencies
  7. apply plugin: 'kotlin-android'
  8. android {
  9. namespace 'com.android.systemui.plugins'
  10. sourceSets {
  11. main {
  12. java.srcDir "$codePath/bcsmartspace/src"
  13. }
  14. }
  15. kotlinOptions {
  16. jvmTarget = "1.8"
  17. freeCompilerArgs = ['-Xjvm-default=all']
  18. }
  19. }
  20. dependencies {
  21. implementation "androidx.annotation:annotation:$ANDROID_X_VERSION_BASE"
  22. implementation project(":$rootDirName:SystemUI:PluginCoreLib")
  23. implementation project(":$rootDirName:SystemUI:SystemUIAnimationLib")
  24. implementation project(":$rootDirName:SystemUI:SystemUILogLib")
  25. }