1apply plugin: 'com.android.library'
2apply plugin: 'kotlin-android'
3
4android {
5    namespace = "com.android.app.animation"
6    testNamespace = "com.android.app.animation.tests"
7    defaultConfig {
8        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
9    }
10
11    sourceSets {
12        main {
13            java.srcDirs = ['src']
14            res.srcDirs = ['res']
15            manifest.srcFile 'AndroidManifest.xml'
16        }
17        androidTest {
18            java.srcDirs = ["tests/src", "tests/robolectric/src"]
19            manifest.srcFile 'tests/AndroidManifest.xml'
20        }
21    }
22
23    lintOptions {
24        abortOnError false
25    }
26    tasks.lint.enabled = false
27    tasks.withType(JavaCompile) {
28        options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
29    }
30    kotlinOptions {
31        jvmTarget = '1.8'
32        freeCompilerArgs = ["-Xjvm-default=all"]
33    }
34}
35
36dependencies {
37    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0"
38    implementation "androidx.core:core-animation:1.0.0-alpha02"
39    implementation "androidx.core:core-ktx:1.9.0"
40    androidTestImplementation libs.robolectric
41    androidTestImplementation "androidx.test.ext:junit:1.1.3"
42    androidTestImplementation "androidx.test:rules:1.4.0"
43}
44