build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. apply from: "../../Script/config.gradle"
  2. apply from: "$scriptPath/frameworks_module.gradle"
  3. apply from: frameworkDependencies
  4. apply plugin: 'kotlin-android'
  5. apply plugin: 'kotlin-kapt'
  6. android {
  7. namespace 'com.android.systemui.shared'
  8. buildFeatures {
  9. aidl(true)
  10. }
  11. compileOptions {
  12. sourceCompatibility JavaVersion.VERSION_17
  13. targetCompatibility JavaVersion.VERSION_17
  14. }
  15. kotlinOptions {
  16. jvmTarget = "17"
  17. }
  18. }
  19. dependencies {
  20. implementation "androidx.core:core:$ANDROID_X_VERSION"
  21. implementation "androidx.lifecycle:lifecycle-common:2.4.0"
  22. implementation "androidx.concurrent:concurrent-futures:$ANDROID_X_VERSION_BASE"
  23. implementation "androidx.dynamicanimation:dynamicanimation:$ANDROID_X_VERSION_BASE"
  24. implementation 'javax.inject:javax.inject:1' // jsr330
  25. implementation 'com.google.dagger:dagger:2.45'
  26. kapt 'com.google.dagger:dagger-compiler:2.45'
  27. implementation project(":$rootDirName:SystemUI:PluginCoreLib")
  28. implementation project(":$rootDirName:WindowManager:Shell")
  29. }