PeopleInSpace/wearApp/build.gradle.kts

93 lines
2.2 KiB
Text
Raw Permalink Normal View History

2021-07-01 19:49:14 +00:00
plugins {
id("com.android.application")
id("kotlin-android")
}
android {
compileSdk = Versions.androidCompileSdk
2021-07-01 19:49:14 +00:00
defaultConfig {
applicationId = "com.surrus.peopleinspace"
2021-11-06 10:32:57 +00:00
minSdk = 26
targetSdk = Versions.androidTargetSdk
2021-10-09 16:39:16 +00:00
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2021-07-01 19:49:14 +00:00
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = Versions.composeCompiler
2021-07-01 19:49:14 +00:00
}
kotlinOptions {
freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
}
2021-07-01 19:49:14 +00:00
buildTypes {
release {
isMinifyEnabled = true
isShrinkResources = true
2021-07-01 19:49:14 +00:00
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
// temporary hack for local testing of release builds
signingConfig = signingConfigs.getByName("debug")
2021-07-01 19:49:14 +00:00
}
}
2021-10-09 16:39:16 +00:00
packagingOptions {
resources.excludes.add("META-INF/licenses/**")
resources.excludes.add("META-INF/AL2.0")
resources.excludes.add("META-INF/LGPL2.1")
}
2021-07-01 19:49:14 +00:00
}
dependencies {
2021-10-29 15:07:56 +00:00
with(Deps.Android) {
implementation(osmdroidAndroid)
}
2021-07-01 19:49:14 +00:00
with(Deps.AndroidX) {
implementation(activityCompose)
}
with(Deps.Compose) {
implementation(compiler)
2021-07-01 19:49:14 +00:00
implementation(wearFoundation)
implementation(wearMaterial)
2021-10-15 12:44:45 +00:00
implementation(wearNavigation)
2021-08-04 20:49:34 +00:00
implementation(coilCompose)
2021-10-09 16:39:16 +00:00
implementation(uiTooling)
2021-07-02 17:16:34 +00:00
}
with(Deps.Koin) {
implementation(core)
implementation(android)
implementation(compose)
2021-07-01 19:49:14 +00:00
}
with (Deps.Ok) {
implementation(okhttp)
implementation(loggingInterceptor)
}
2021-10-09 16:39:16 +00:00
with(Deps.Test) {
testImplementation(junit)
androidTestImplementation(androidXTestJUnit)
testImplementation(testCore)
testImplementation(robolectric)
testImplementation(mockito)
// Compose testing dependencies
androidTestImplementation(composeUiTest)
androidTestImplementation(composeUiTestJUnit)
debugImplementation(composeUiTestManifest)
}
2022-01-29 13:03:32 +00:00
with(Deps.Glance) {
implementation(tiles)
}
2021-11-06 10:32:57 +00:00
2021-07-01 19:49:14 +00:00
implementation(project(":common"))
}