blob: 939455fa44ac8d0bfd0298a2f67947112696d8de [file] [log] [blame]
Yein Jo9da60162023-03-04 06:38:50 +00001apply 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 {
Uwais Ashrafe285b932023-12-27 16:51:31 +00008 java.srcDirs = ["${SYS_UI_DIR}/animation/src/com/android/systemui/surfaceeffects/"]
9 manifest.srcFile "${SYS_UI_DIR}/animation/AndroidManifest.xml"
Yein Jo9da60162023-03-04 06:38:50 +000010 }
11 }
12
13 compileSdk 33
14
15 defaultConfig {
16 minSdk 33
17 targetSdk 33
18 }
19
20 lintOptions {
21 abortOnError false
22 }
23 tasks.lint.enabled = false
24 tasks.withType(JavaCompile) {
25 options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
26 }
27 kotlinOptions {
28 jvmTarget = '1.8'
29 freeCompilerArgs = ["-Xjvm-default=all"]
30 }
31}
32
33dependencies {
34 implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0"
35 implementation 'androidx.core:core-animation:1.0.0-alpha02'
36 implementation 'androidx.core:core-ktx:1.9.0'
37}