build.gradle 870 B

1234567891011121314151617181920212223242526272829303132333435
  1. import java.nio.file.Paths
  2. apply from: "../../Script/config.gradle"
  3. ext {
  4. codePath = Paths.get("$rootDir", "$rootDirName", "$systemUiPath", "unfold")
  5. }
  6. apply from: "$scriptPath/frameworks_module.gradle"
  7. apply plugin: 'kotlin-android'
  8. apply plugin: 'kotlin-kapt'
  9. android {
  10. namespace 'com.android.systemui.unfold'
  11. compileOptions {
  12. sourceCompatibility JavaVersion.VERSION_17
  13. targetCompatibility JavaVersion.VERSION_17
  14. }
  15. buildFeatures {
  16. aidl(true)
  17. }
  18. kotlinOptions {
  19. jvmTarget = "17"
  20. freeCompilerArgs = ['-Xjvm-default=enable']
  21. }
  22. }
  23. dependencies {
  24. implementation "androidx.dynamicanimation:dynamicanimation:$ANDROID_X_VERSION_BASE"
  25. implementation 'javax.inject:javax.inject:1' // jsr330
  26. implementation 'com.google.dagger:dagger:2.45'
  27. kapt 'com.google.dagger:dagger-compiler:2.45'
  28. }