Files
Lawnchair/systemUI/animation/build.gradle
T
Pun Butrach ca0fe79dfd build: Avoid srcDirs deprecations
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-02-02 00:48:27 +07:00

41 lines
938 B
Groovy

plugins {
alias(libs.plugins.android.library)
}
// TODO: Pull out surfaceeffects outside of src and have separate build files there.
android {
buildToolsVersion "36.1.0"
namespace "com.android.systemui.animation"
buildFeatures {
aidl true
}
sourceSets {
main {
java.srcDirs = ['src']
kotlin.directories.add('src')
aidl.srcDirs = ['src']
manifest.srcFile 'AndroidManifest.xml'
res.srcDirs = ['res']
}
}
lint {
abortOnError false
}
tasks.lint.enabled = false
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
addFrameworkJar('framework-16.jar')
compileOnlyCommonJars()
dependencies {
implementation libs.androidx.core.animation
compileOnly projects.animationlib
compileOnly projects.wmshell
compileOnly projects.flags
}