Skip to content

Commit 9279b5a

Browse files
committed
update: build.gradle.kts
1 parent 63d51c5 commit 9279b5a

File tree

3 files changed

+32
-32
lines changed

3 files changed

+32
-32
lines changed

app/build.gradle.kts

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -25,38 +25,38 @@ android {
2525

2626
}
2727

28-
signingConfigs {
29-
create("release") {
30-
// You need to specify either an absolute path or include the
31-
// keystore file in the same directory as the build.gradle file.
32-
// [PROJECT FOLDER NAME/app/[COPY YOUT KEY STORE] .jks in here
33-
storeFile = file(ProjectSetting.KEY_PATH)
34-
storePassword = ProjectSetting.KEY_STORE_PASSWORD
35-
keyAlias = ProjectSetting.KEY_ALIAS
36-
keyPassword = ProjectSetting.KEY_ALIAS_PASSWORD
37-
}
28+
signingConfigs {
29+
create("release") {
30+
// You need to specify either an absolute path or include the
31+
// keystore file in the same directory as the build.gradle file.
32+
// [PROJECT FOLDER NAME/app/[COPY YOUT KEY STORE] .jks in here
33+
storeFile = file(ProjectSetting.KEY_PATH)
34+
storePassword = ProjectSetting.KEY_STORE_PASSWORD
35+
keyAlias = ProjectSetting.KEY_ALIAS
36+
keyPassword = ProjectSetting.KEY_ALIAS_PASSWORD
3837
}
38+
}
3939

40-
buildTypes {
41-
getByName("release") {
42-
isMinifyEnabled = false
40+
buildTypes {
41+
getByName("release") {
42+
isMinifyEnabled = false
4343

44-
// Disable Debug Mode
45-
isDebuggable = false
46-
isJniDebuggable = false
47-
isRenderscriptDebuggable = false
48-
isPseudoLocalesEnabled = false
44+
// Disable Debug Mode
45+
isDebuggable = false
46+
isJniDebuggable = false
47+
isRenderscriptDebuggable = false
48+
isPseudoLocalesEnabled = false
4949

50-
proguardFiles(
51-
getDefaultProguardFile("proguard-android-optimize.txt"),
52-
"proguard-rules.pro"
53-
)
50+
proguardFiles(
51+
getDefaultProguardFile("proguard-android-optimize.txt"),
52+
"proguard-rules.pro"
53+
)
5454

55-
// Generated Signed APK / AAB
56-
signingConfig = signingConfigs.getByName("release")
55+
// Generated Signed APK / AAB
56+
signingConfig = signingConfigs.getByName("release")
5757

58-
}
5958
}
59+
}
6060

6161
buildFeatures {
6262
viewBinding = true
@@ -69,17 +69,17 @@ android {
6969

7070
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
7171
kotlinOptions {
72-
jvmTarget = JavaVersion.VERSION_11.toString()
72+
jvmTarget = "11"
7373
}
7474
}
7575
}
7676

7777
dependencies {
7878

79-
implementation("androidx.core:core-ktx:1.9.0")
80-
implementation("androidx.appcompat:appcompat:1.6.0")
79+
implementation("androidx.core:core-ktx:1.10.0")
80+
implementation("androidx.appcompat:appcompat:1.6.1")
8181
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
82-
implementation("androidx.work:work-runtime-ktx:2.7.1")
82+
implementation("androidx.work:work-runtime-ktx:2.8.1")
8383
implementation("com.google.android.material:material:1.8.0")
8484

8585
testImplementation("junit:junit:4.13.2")

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
plugins {
3-
id("com.android.application") version "7.4.0" apply false
4-
id("com.android.library") version "7.4.0" apply false
3+
id("com.android.application") version "7.4.2" apply false
4+
id("com.android.library") version "7.4.2" apply false
55
id("org.jetbrains.kotlin.android") version Dependency.KOTLIN_VERSION apply false
66
}
77

buildSrc/src/main/kotlin/Dependency.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
object Dependency {
1515

1616
// dependencies version
17-
const val KOTLIN_VERSION = "1.7.20"
17+
const val KOTLIN_VERSION = "1.8.0"
1818
const val COMPOSE_VERSION = "1.0.5"
1919
const val KOIN_VERSION = "3.1.4"
2020

0 commit comments

Comments
 (0)