-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathbuild.gradle.kts
47 lines (41 loc) · 1.17 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
plugins {
id(Plugins.androidLibrary)
id(Plugins.kotlinAndroid)
id(Plugins.mavenPublish)
}
android {
namespace = "com.trendyol.shimmercompose"
compileSdk = Configs.compileSdkVersion
defaultConfig {
minSdk = Configs.minSdkVersion
targetSdk = Configs.targetSdkVersion
vectorDrawables.useSupportLibrary = true
}
buildTypes {
getByName<com.android.build.gradle.internal.dsl.BuildType>("release") {
isMinifyEnabled = false
setProguardFiles(
mutableListOf(
getDefaultProguardFile("proguard-android.txt"),
"proguard-rules.pro"
)
)
}
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = Dependencies.kotlinCompilerExtensionVersion
}
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
implementation(platform(Dependencies.composeBom))
implementation(Dependencies.composeMaterial)
implementation(Dependencies.composeUiUtil)
implementation(Dependencies.composeUiTooling)
implementation(Dependencies.composeRuntime)
}