Skip to content

Commit 0245256

Browse files
committed
chore: apply ktlint to kts
1 parent 1c7c7f5 commit 0245256

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

app/build.gradle.kts

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ android {
1818
buildToolsVersion = "34.0.0"
1919

2020
defaultConfig {
21-
applicationId = "com.osfans.trime"
21+
applicationId = "com.osfans.trime"
2222
minSdk = 21
2323
targetSdk = 34
2424
versionCode = 20240501
@@ -36,17 +36,20 @@ android {
3636
buildTypes {
3737
release {
3838
isMinifyEnabled = false
39-
//proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-android.txt"
40-
signingConfig = with(ApkRelease) {
41-
if (project.buildApkRelease) {
42-
signingConfigs.create("release") {
43-
storeFile = file(project.storeFile!!)
44-
storePassword = project.storePassword
45-
keyAlias = project.keyAlias
46-
keyPassword = project.keyPassword
39+
// proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-android.txt"
40+
signingConfig =
41+
with(ApkRelease) {
42+
if (project.buildApkRelease) {
43+
signingConfigs.create("release") {
44+
storeFile = file(project.storeFile!!)
45+
storePassword = project.storePassword
46+
keyAlias = project.keyAlias
47+
keyPassword = project.keyPassword
48+
}
49+
} else {
50+
null
4751
}
48-
} else null
49-
}
52+
}
5053

5154
resValue("string", "trime_app_name", "@string/app_name_release")
5255
}
@@ -66,7 +69,7 @@ android {
6669
sourceCompatibility = JavaVersion.VERSION_1_8
6770
targetCompatibility = JavaVersion.VERSION_1_8
6871
}
69-
72+
7073
kotlinOptions {
7174
jvmTarget = JavaVersion.VERSION_1_8.toString()
7275
}

0 commit comments

Comments
 (0)