xref: /aosp_15_r20/frameworks/base/packages/SystemUI/animation/build.gradle (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1apply plugin: 'com.android.library'
2apply plugin: 'kotlin-android'
3
4// TODO: Pull out surfaceeffects outside of src and have separate build files there.
5android {
6    sourceSets {
7        main {
8            java.srcDirs = ["${SYS_UI_DIR}/animation/src/com/android/systemui/surfaceeffects/"]
9            manifest.srcFile "${SYS_UI_DIR}/animation/AndroidManifest.xml"
10        }
11    }
12
13    lintOptions {
14        abortOnError false
15    }
16    tasks.lint.enabled = false
17    tasks.withType(JavaCompile) {
18        options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
19    }
20}
21
22dependencies {
23    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0"
24    implementation 'androidx.core:core-animation:1.0.0-alpha02'
25    implementation 'androidx.core:core-ktx:1.9.0'
26}
27