You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.3 KiB
49 lines
1.3 KiB
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']
|
|
res.srcDirs = ['res']
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
}
|
|
androidTest {
|
|
java.srcDirs = ["tests/src"]
|
|
manifest.srcFile 'tests/AndroidManifest.xml'
|
|
}
|
|
}
|
|
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"
|
|
}
|