build.gradle 811 B

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