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 { |
| 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 | 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 | |
| 33 | dependencies { |
| 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 | } |