mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-11 06:44:00 +00:00
56 lines
1.5 KiB
Groovy
56 lines
1.5 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion COMPILE_SDK
|
|
buildToolsVersion BUILD_TOOLS_VERSION
|
|
|
|
defaultConfig {
|
|
minSdkVersion 26
|
|
targetSdkVersion 28
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
java.srcDirs = ['src']
|
|
aidl.srcDirs = ['src']
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
res.srcDirs = ['res']
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
addFrameworkJar('framework-12l.jar')
|
|
replaceFrameworkJar('framework-12l.jar')
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly fileTree(dir: new File(rootProject.projectDir, 'prebuilts/libs'), include: 'WindowManager-Shell.jar')
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation "androidx.concurrent:concurrent-futures:1.1.0"
|
|
implementation "androidx.lifecycle:lifecycle-common-java8:2.4.1"
|
|
implementation "androidx.dynamicanimation:dynamicanimation:1.0.0"
|
|
implementation project(':CompatLib')
|
|
implementation project(':CompatLibVR')
|
|
implementation project(':CompatLibVS')
|
|
implementation "org.json:json:20220320"
|
|
}
|