antimine-android/wear/build.gradle
2020-03-10 23:24:05 -03:00

54 lines
1.9 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
publishNonDefault true
compileSdkVersion buildVersion.targetSdk
defaultConfig {
applicationId 'dev.lucasnlm.antimine.wear'
minSdkVersion buildVersion.wearMinAppSdk
targetSdkVersion buildVersion.targetSdk
versionCode buildVersion.versionCode
versionName buildVersion.versionName
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')
// Constraint
implementation "androidx.appcompat:appcompat:$versions.appcompat"
implementation "androidx.constraintlayout:constraintlayout:$versions.constraintlayout"
implementation "androidx.recyclerview:recyclerview:$versions.recyclerview"
implementation "androidx.legacy:legacy-support-v4:$versions.legacySupport"
// Wear OS
implementation "androidx.wear:wear:$versions.wear"
implementation "com.google.android.gms:play-services-wearable:$versions.playWearable"
implementation "com.google.android.support:wearable:$versions.supportWearable"
compileOnly "com.google.android.wearable:wearable:$versions.supportWearable"
// Dagger
api "com.google.dagger:dagger-android:$versions.dagger"
api "com.google.dagger:dagger-android-support:$versions.dagger"
kapt "com.google.dagger:dagger-android-processor:$versions.dagger"
kapt "com.google.dagger:dagger-compiler:$versions.dagger"
// Kotlin
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$versions.coroutines"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin"
}