HeliBoard/app/build.gradle

63 lines
1.6 KiB
Groovy
Executable file

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 33
defaultConfig {
applicationId "org.dslul.openboard.inputmethod.latin"
minSdkVersion 19
targetSdkVersion 33
versionCode 19
versionName '1.4.5'
}
buildTypes {
release {
minifyEnabled false
debuggable false
jniDebuggable false
renderscriptDebuggable false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled false
jniDebuggable false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
applicationIdSuffix ".debug"
}
archivesBaseName = "openboard_" + defaultConfig.versionName
}
externalNativeBuild {
ndkBuild {
path 'src/main/jni/Android.mk'
}
}
lintOptions {
abortOnError false
}
ndkVersion '23.2.8568313'
androidResources {
noCompress 'main.dict'
noCompress 'empty.dict'
}
packagingOptions {
jniLibs {
// shrinks APK by 3 MB, zipped size unchanged
useLegacyPackaging true
}
}
}
dependencies {
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'androidx.recyclerview:recyclerview:1.3.1'
implementation 'androidx.core:core-ktx:1.10.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
testImplementation 'junit:junit:4.13.2'
}