52 lines
1.6 KiB
Groovy
52 lines
1.6 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
publishNonDefault true
|
|
compileSdkVersion 29
|
|
|
|
defaultConfig {
|
|
applicationId 'dev.lucasnlm.antimine.wear'
|
|
minSdkVersion 23
|
|
targetSdkVersion 29
|
|
versionCode 22
|
|
versionName '5.0'
|
|
|
|
resConfigs 'en', 'pt', 'es', 'zh'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation project(':common')
|
|
|
|
// Android X
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'androidx.percentlayout:percentlayout:1.0.0'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
|
|
|
// Wear OS
|
|
implementation 'androidx.wear:wear:1.0.0'
|
|
implementation "com.google.android.gms:play-services-wearable:17.0.0"
|
|
implementation 'com.google.android.support:wearable:2.5.0'
|
|
compileOnly 'com.google.android.wearable:wearable:2.5.0'
|
|
|
|
// Dagger
|
|
def dagger_version='2.21'
|
|
api "com.google.dagger:dagger-android:$dagger_version"
|
|
api "com.google.dagger:dagger-android-support:$dagger_version"
|
|
kapt "com.google.dagger:dagger-android-processor:$dagger_version"
|
|
kapt "com.google.dagger:dagger-compiler:$dagger_version"
|
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50'
|
|
}
|