mirror of
https://github.com/TrianguloY/LightningLauncher.git
synced 2025-01-15 03:40:49 +01:00
54 lines
1.3 KiB
Groovy
54 lines
1.3 KiB
Groovy
plugins {
|
|
alias(libs.plugins.androlib)
|
|
alias(libs.plugins.kotlin)
|
|
}
|
|
|
|
android {
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
minSdk 26
|
|
targetSdk 33
|
|
buildConfigField "boolean", "IS_BETA", "false"
|
|
|
|
ndk {
|
|
moduleName "ll"
|
|
cFlags "-std=c99 -O2 -W -Wall -Wno-unused-parameter"
|
|
ldLibs "m", "log", "jnigraphics", "android"
|
|
}
|
|
|
|
sourceSets.main.jni.srcDirs = ["src/main/jni"]
|
|
// sourceSets.main.jniLibs.srcDirs = ["src/main/libs"]
|
|
sourceSets.main.resources.srcDirs = ["src/main/java"]
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path 'src/main/jni/CMakeLists.txt'
|
|
}
|
|
}
|
|
namespace 'net.pierrox.lightning_launcher'
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '11'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation files('libs/dx.jar')
|
|
implementation libs.lsvg
|
|
implementation libs.androidx.appcomat
|
|
implementation libs.androidx.material
|
|
implementation project(':plugin-api')
|
|
}
|