mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 08:55:34 +00:00
Per Android Studio 3.0 [Release Notes](https://android-developers.googleblog.com/2017/10/android-studio-30.html) -Update gradle version -Change deprecated `compile` dependencies to `implementation` or `api` -Change maven repositories to google (triplet plugin still on maven) - Update readme instructions for using the engine
33 lines
713 B
Groovy
33 lines
713 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 {
|
|
google()
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'com.android.support:appcompat-v7:25.1.0'
|
|
api (name:'keyman-engine', ext:'aar')
|
|
}
|