mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
43 lines
1.3 KiB
Groovy
43 lines
1.3 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
ext.rootPath = '../../../'
|
|
apply from: "$rootPath/version.gradle"
|
|
|
|
android {
|
|
compileSdk 35
|
|
namespace="com.keyman.android.tests.keycode"
|
|
|
|
buildFeatures {
|
|
// needed for custom BuildConfigField values in defaultConfig
|
|
buildConfig = true
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId "com.keyman.android.tests.keycode"
|
|
minSdkVersion 21
|
|
targetSdkVersion 35
|
|
|
|
// KEYMAN_VERSION_CODE and KEYMAN_VERSION_NAME from version.gradle
|
|
versionCode KEYMAN_VERSION_CODE as Integer
|
|
versionName KEYMAN_VERSION_NAME
|
|
buildConfigField "String", "KEYMAN_VERSION_ENVIRONMENT", "\""+KEYMAN_VERSION_ENVIRONMENT+"\""
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.7.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
|
implementation 'com.google.android.material:material:1.12.0'
|
|
testImplementation 'androidx.test.ext:junit:1.2.1'
|
|
testImplementation 'org.robolectric:robolectric:4.14.1'
|
|
testImplementation 'androidx.test:core:1.6.1'
|
|
}
|