build.gradle 967 B

12345678910111213141516171819202122232425262728293031323334353637
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. // TODO: Pull out surfaceeffects outside of src and have separate build files there.
  4. android {
  5. sourceSets {
  6. main {
  7. java.srcDirs = ["${SYS_UI_DIR}/animation/src/com/android/systemui/surfaceeffects/"]
  8. manifest.srcFile "${SYS_UI_DIR}/animation/AndroidManifest.xml"
  9. }
  10. }
  11. compileSdk 33
  12. defaultConfig {
  13. minSdk 33
  14. targetSdk 33
  15. }
  16. lintOptions {
  17. abortOnError false
  18. }
  19. tasks.lint.enabled = false
  20. tasks.withType(JavaCompile) {
  21. options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
  22. }
  23. kotlinOptions {
  24. jvmTarget = '1.8'
  25. freeCompilerArgs = ["-Xjvm-default=all"]
  26. }
  27. }
  28. dependencies {
  29. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0"
  30. implementation 'androidx.core:core-animation:1.0.0-alpha02'
  31. implementation 'androidx.core:core-ktx:1.9.0'
  32. }