Add ShaderLib gradle build
Bug: 271134655 Test: gradle build Change-Id: Ib0e364473daacfbf6056aed1374bbb78d6632653
This commit is contained in:
9
packages/SystemUI/animation/.gitignore
vendored
Normal file
9
packages/SystemUI/animation/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
.idea/
|
||||
.gradle/
|
||||
gradle/
|
||||
build/
|
||||
gradlew*
|
||||
local.properties
|
||||
*.iml
|
||||
android.properties
|
||||
buildSrc
|
||||
37
packages/SystemUI/animation/build.gradle
Normal file
37
packages/SystemUI/animation/build.gradle
Normal file
@@ -0,0 +1,37 @@
|
||||
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"
|
||||
}
|
||||
}
|
||||
|
||||
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'
|
||||
}
|
||||
Reference in New Issue
Block a user