-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
56 lines (51 loc) · 1.64 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
id("com.android.application")
kotlin("android")
id("kotlin-parcelize")
id("kotlinx-serialization")
}
android {
compileSdk = libs.versions.android.sdk.compile.get().toInt()
namespace = "nl.tiebe.otarium.androidApp"
defaultConfig {
applicationId = "nl.tiebe.otarium"
minSdk = libs.versions.android.sdk.min.get().toInt()
targetSdk = libs.versions.android.sdk.compile.get().toInt()
versionCode = (System.currentTimeMillis() / 1000).toInt()
versionName = libs.versions.app.version.string.get()
}
buildTypes {
getByName("release") {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
}
}
dependencies {
implementation(project(":shared"))
implementation(libs.android.appcompat)
implementation(libs.android.material)
implementation(libs.compose.activity)
implementation(libs.compose.runtime)
implementation(libs.compose.ui)
implementation(libs.compose.material3)
implementation(libs.compose.foundationlayout)
implementation(libs.compose.material)
implementation(libs.decompose.core)
implementation(libs.play.services.wearable)
}