mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 00:45:32 +00:00
Consumers of KMEA need to include Firebase and Crashlytics dependencies, but don't need to run the Google services. This simplifies these projects of not neeeding google-services.json. Also added `-no-daemon` and `-debug` options to Samples and Test `build.sh` scripts so they can be run on CI servers.
38 lines
944 B
Groovy
38 lines
944 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion "26.0.2"
|
|
|
|
defaultConfig {
|
|
applicationId "com.keyman.kmsample1"
|
|
minSdkVersion 15
|
|
targetSdkVersion 25
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
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 'com.android.support:appcompat-v7:25.2.0'
|
|
implementation 'com.google.firebase:firebase-core:11.8.0'
|
|
implementation 'com.google.firebase:firebase-crash:11.8.0'
|
|
implementation('com.crashlytics.sdk.android:crashlytics:2.9.0@aar') {
|
|
transitive = true
|
|
}
|
|
api (name:'keyman-engine', ext:'aar')
|
|
}
|