spiegel-keyman/android/Samples/KMSample2/app/build.gradle
2020-01-29 12:19:07 +11:00

43 lines
1.1 KiB
Groovy

apply plugin: 'com.android.application'
ext.rootPath = '../../../'
apply from: "$rootPath/version.gradle"
android {
compileSdkVersion 29
defaultConfig {
applicationId "com.keyman.kmsample2"
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.1.0'
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
}
}