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 true //shrinkResources true todo: test before enabling, a lot of resources are accessed via getIdentifier and possibly not all have been marked with "keep" debuggable false jniDebuggable false renderscriptDebuggable false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro', 'src/main/proguard.flags' } debug { minifyEnabled true jniDebuggable false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro', 'src/main/proguard.flags' applicationIdSuffix ".debug" } buildFeatures { viewBinding true } 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 'androidx.core:core-ktx:1.10.1' implementation 'androidx.preference:preference:1.2.1' // includes appcompat implementation 'androidx.recyclerview:recyclerview:1.3.1' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'com.github.skydoves:colorpickerview:2.2.4' testImplementation 'junit:junit:4.13.2' }