spiegel-keyman/android/Samples/KMSample1/app/build.gradle
Darcy daf2122ef1 fix(linux): Fix builds for Sample and Test apps
* Fix version path for KMSample1
* Add executable bit for KeyboardHarness build.sh
2020-02-18 08:48:35 +07:00

44 lines
1.1 KiB
Groovy

apply plugin: 'com.android.application'
ext.rootPath = '../../../'
apply from: "$rootPath/version.gradle"
android {
compileSdkVersion 29
defaultConfig {
applicationId "com.keyman.kmsample1"
minSdkVersion 16
targetSdkVersion 29
// VERSION_CODE and VERSION_NAME from version.gradle
versionCode VERSION_CODE as Integer
versionName VERSION_NAME
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
flatDir {
dirs 'libs'
}
google()
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.2.0-alpha02'
implementation 'com.google.android.material:material:1.0.0'
api(name: 'keyman-engine', ext: 'aar')
implementation "com.google.firebase:firebase-core:17.2.1"
implementation "com.google.firebase:firebase-crash:16.2.1"
implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar') {
transitive = true
}
}