Skip to content

Commit 36caf23

Browse files
committed
chore: simplify build files
1 parent 12a8754 commit 36caf23

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

app/build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ android {
4040
dependencies {
4141
implementation fileTree(dir: 'libs', include: ['*.jar'])
4242

43-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
44-
4543
// Dependencies
4644
implementation 'androidx.core:core-ktx:1.17.0'
4745
implementation 'androidx.preference:preference-ktx:1.2.1'
@@ -58,10 +56,8 @@ dependencies {
5856

5957
kotlin {
6058
compilerOptions {
61-
languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0
59+
languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_3
6260
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
63-
64-
6561
}
6662
}
6763

build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '2.3.10'
54
repositories {
65
google()
76
mavenCentral()
87
}
98
dependencies {
109
classpath 'com.android.tools.build:gradle:9.0.1'
11-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1210

1311
// NOTE: Do not place your application dependencies here; they belong
1412
// in the individual module build.gradle files
@@ -24,4 +22,4 @@ allprojects {
2422

2523
tasks.register('clean', Delete) {
2624
delete rootProject.layout.buildDirectory
27-
}
25+
}

0 commit comments

Comments
 (0)