build.gradle 1.3 KB

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