Yein Jo | 9da6016 | 2023-03-04 06:38:50 +0000 | [diff] [blame] | 1 | apply plugin: 'com.android.library' |
| 2 | apply plugin: 'kotlin-android' |
| 3 | |
| 4 | // TODO: Pull out surfaceeffects outside of src and have separate build files there. |
| 5 | android { |
| 6 | sourceSets { |
| 7 | main { |
Uwais Ashraf | e285b93 | 2023-12-27 16:51:31 +0000 | [diff] [blame] | 8 | java.srcDirs = ["${SYS_UI_DIR}/animation/src/com/android/systemui/surfaceeffects/"] |
| 9 | manifest.srcFile "${SYS_UI_DIR}/animation/AndroidManifest.xml" |
Yein Jo | 9da6016 | 2023-03-04 06:38:50 +0000 | [diff] [blame] | 10 | } |
| 11 | } |
| 12 | |
Yein Jo | 9da6016 | 2023-03-04 06:38:50 +0000 | [diff] [blame] | 13 | lintOptions { |
| 14 | abortOnError false |
| 15 | } |
| 16 | tasks.lint.enabled = false |
| 17 | tasks.withType(JavaCompile) { |
| 18 | options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" |
| 19 | } |
Yein Jo | 9da6016 | 2023-03-04 06:38:50 +0000 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | dependencies { |
| 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 | } |