mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 09:25:33 +00:00
53 lines
1.4 KiB
Groovy
53 lines
1.4 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
ext.rootPath = '../../../'
|
|
apply from: "$rootPath/version.gradle"
|
|
|
|
android {
|
|
compileSdk 34
|
|
namespace="com.keyman.android.tests.keyboardHarness"
|
|
|
|
// Don't compress kmp files so they can be copied via AssetManager
|
|
aaptOptions {
|
|
noCompress "kmp"
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId "com.keyman.android.tests.keyboardHarness"
|
|
minSdkVersion 21
|
|
targetSdkVersion 34
|
|
|
|
// VERSION_CODE and VERSION_NAME from version.gradle
|
|
versionCode VERSION_CODE as Integer
|
|
versionName VERSION_NAME
|
|
buildConfigField "String", "VERSION_ENVIRONMENT", "\""+VERSION_ENVIRONMENT+"\""
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.6.0-rc01'
|
|
implementation 'com.google.android.material:material:1.6.0'
|
|
api (name:'keyman-engine', ext:'aar')
|
|
implementation 'androidx.preference:preference:1.2.0'
|
|
}
|