PeopleInSpace/app/build.gradle.kts

106 lines
2.6 KiB
Text
Raw Permalink Normal View History

2020-10-28 21:19:44 +00:00
plugins {
id("com.android.application")
kotlin("android")
2021-09-17 19:04:32 +00:00
id("com.github.ben-manes.versions")
2020-10-28 21:19:44 +00:00
}
android {
2021-06-19 17:19:48 +00:00
compileSdk = Versions.androidCompileSdk
2021-06-19 13:02:01 +00:00
2020-10-28 21:19:44 +00:00
defaultConfig {
applicationId = "com.surrus.peopleinspace"
2021-06-19 17:19:48 +00:00
minSdk = Versions.androidMinSdk
targetSdk = Versions.androidTargetSdk
2020-10-28 21:19:44 +00:00
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
2021-05-29 13:49:17 +00:00
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = Versions.composeCompiler
2021-05-29 13:49:17 +00:00
}
2020-10-28 21:19:44 +00:00
buildTypes {
getByName("release") {
isMinifyEnabled = true
isShrinkResources = true
2021-06-19 14:00:09 +00:00
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
2020-10-28 21:19:44 +00:00
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
2021-07-09 20:41:58 +00:00
packagingOptions {
2021-07-23 09:09:37 +00:00
resources.excludes.add("META-INF/licenses/**")
resources.excludes.add("META-INF/AL2.0")
resources.excludes.add("META-INF/LGPL2.1")
2021-07-09 20:41:58 +00:00
}
2020-10-28 21:19:44 +00:00
}
dependencies {
2021-06-20 12:52:13 +00:00
with(Deps.Android) {
2021-06-20 05:23:36 +00:00
implementation(material)
2021-06-20 12:52:13 +00:00
implementation(osmdroidAndroid)
}
with(Deps.AndroidX) {
2021-06-20 05:23:36 +00:00
implementation(lifecycleRuntimeKtx)
implementation(lifecycleViewmodelKtx)
implementation(activityCompose)
}
2021-03-24 19:52:16 +00:00
2021-10-31 20:49:33 +00:00
implementation("androidx.glance:glance-appwidget:1.0.0-SNAPSHOT")
2021-06-19 17:51:54 +00:00
with(Deps.Compose) {
implementation(compiler)
2021-06-19 17:51:54 +00:00
implementation(ui)
implementation(uiGraphics)
implementation(foundationLayout)
implementation(material)
implementation(navigation)
2021-08-04 20:49:34 +00:00
implementation(coilCompose)
implementation(accompanistNavigationAnimation)
implementation(uiTooling)
2021-06-19 17:51:54 +00:00
}
2020-10-28 21:19:44 +00:00
2021-10-31 20:49:33 +00:00
2021-06-19 17:51:54 +00:00
with(Deps.Koin) {
implementation(core)
implementation(android)
implementation(compose)
testImplementation(test)
testImplementation(testJUnit4)
}
2021-06-19 17:38:31 +00:00
2021-06-19 17:51:54 +00:00
with(Deps.Test) {
testImplementation(junit)
androidTestImplementation(androidXTestJUnit)
testImplementation(testCore)
testImplementation(robolectric)
testImplementation(mockito)
2021-07-09 20:41:58 +00:00
// Compose testing dependencies
androidTestImplementation(composeUiTest)
androidTestImplementation(composeUiTestJUnit)
debugImplementation(composeUiTestManifest)
2021-06-19 17:51:54 +00:00
}
2020-10-28 21:19:44 +00:00
implementation(project(":common"))
2021-06-20 09:32:24 +00:00
}