12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- apply plugin: 'com.android.library'
- apply plugin: 'kotlin-android'
- android {
- namespace = "com.android.app.animation"
- testNamespace = "com.android.app.animation.tests"
- defaultConfig {
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- sourceSets {
- main {
- java.srcDirs = ['src']
- manifest.srcFile 'AndroidManifest.xml'
- }
- androidTest {
- java.srcDirs = ["tests"]
- }
- }
- compileSdk 33
- defaultConfig {
- minSdk 33
- targetSdk 33
- }
- lintOptions {
- abortOnError false
- }
- tasks.lint.enabled = false
- tasks.withType(JavaCompile) {
- options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
- }
- kotlinOptions {
- jvmTarget = '1.8'
- freeCompilerArgs = ["-Xjvm-default=all"]
- }
- }
- 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"
- androidTestImplementation "androidx.test.ext:junit:1.1.3"
- androidTestImplementation "androidx.test:rules:1.4.0"
- }
|