-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
43 lines (41 loc) · 1.27 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
plugins {
alias(libs.plugins.agp)
alias(libs.plugins.kgp)
alias(libs.plugins.jc)
}
android {
namespace = libs.versions.application.id.get()
compileSdk = libs.versions.compile.sdk.get().toInt()
defaultConfig {
applicationId = libs.versions.application.id.get()
minSdk = libs.versions.min.sdk.get().toInt()
targetSdk = libs.versions.target.sdk.get().toInt()
versionCode = libs.versions.version.code.get().toInt()
val gitVersion = providers.of(GitVersionValueSource::class) {}.get()
versionName = libs.versions.target.sdk.get() + gitVersion
proguardFile("proguard-rules.pro")
signingConfig = signingConfigs.getByName("debug")
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
kotlinOptions {
jvmTarget = "21"
}
composeOptions {
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
}
compose {
kotlinCompilerPlugin.set(libs.compose.compiler.get().toString())
}
}
dependencies {
implementation(project(":shared"))
implementation(libs.activity.compose)
}