mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
33 lines
1 KiB
Groovy
33 lines
1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
ext.rootPath = '../../../'
|
|
apply from: "$rootPath/version.gradle"
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
defaultConfig {
|
|
applicationId "com.keyman.android.tests.keycode"
|
|
minSdkVersion 16
|
|
targetSdkVersion 29
|
|
|
|
// 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'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
|
|
implementation 'com.google.android.material:material:1.2.1'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
testImplementation 'androidx.test:core:1.1.0'
|
|
testImplementation 'androidx.test.ext:junit:1.1.0'
|
|
}
|