summaryrefslogtreecommitdiff
path: root/packages/SystemUI/animation/build.gradle
blob: 16ba42f862f7d8517c238a540754379cb73a7f19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

// TODO: Pull out surfaceeffects outside of src and have separate build files there.
android {
    sourceSets {
        main {
            java.srcDirs = ["${SYS_UI_DIR}/animation/src/com/android/systemui/surfaceeffects/"]
            manifest.srcFile "${SYS_UI_DIR}/animation/AndroidManifest.xml"
        }
    }

    lintOptions {
        abortOnError false
    }
    tasks.lint.enabled = false
    tasks.withType(JavaCompile) {
        options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
    }
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0"
    implementation 'androidx.core:core-animation:1.0.0-alpha02'
    implementation 'androidx.core:core-ktx:1.9.0'
}