mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 08:55:34 +00:00
Copy over the Android source Update build.sh scripts for new paths KMEA/build.sh also updated to build KMW and use the artifacts
30 lines
773 B
Groovy
30 lines
773 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion "25.0.3"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 15
|
|
targetSdkVersion 25
|
|
|
|
if (project.hasProperty("build.number")) {
|
|
versionCode project.ext['build_counter'] as Integer // Because TeamCity does not bubble build.counter into system properties...
|
|
versionName "${project.ext['build.number']}"
|
|
} else {
|
|
versionCode 100
|
|
versionName '0.0-beta'
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.support:support-v4:25.4.0'
|
|
}
|