LightningLauncher-TrianguloY/app/llx/core/build.gradle

42 lines
1.1 KiB
Groovy
Raw Normal View History

2018-12-15 17:57:52 +01:00
apply plugin: 'com.android.library'
android {
compileSdkVersion 28
2018-12-15 17:57:52 +01:00
defaultConfig {
minSdkVersion 14
targetSdkVersion 28
2018-12-15 17:57:52 +01:00
versionCode 1
versionName "1.0"
2019-06-24 09:15:42 +02:00
buildConfigField "boolean", "IS_BETA", "false"
2018-12-15 17:57:52 +01:00
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'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile files('libs/dx.jar')
compile 'net.pierrox.android:lsvg:1.0'
compile project(':plugin-api')
2018-12-15 17:57:52 +01:00
}