Skip to content

Commit e2030e6

Browse files
committed
chore: update dependencies
1 parent 9264029 commit e2030e6

20 files changed

Lines changed: 52 additions & 59 deletions

File tree

android-module.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apply plugin: 'kotlin-android'
22

33
android {
4-
compileSdk 31
4+
compileSdk 34
55
defaultConfig {
66
minSdk 21
7-
targetSdk 31
7+
targetSdk 34
88
versionCode 1
99
versionName "1.0"
1010
}

buildSrc/settings.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
enableFeaturePreview("VERSION_CATALOGS")
2-
31
dependencyResolutionManagement {
42
versionCatalogs {
53
create("libs") {
64
from(files("../gradle/libs.versions.toml"))
75
}
86
}
9-
}
7+
}

buildSrc/src/main/kotlin/Setup.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
88
import com.android.build.gradle.LibraryExtension
99

1010
private fun BaseExtension.android() {
11-
compileSdkVersion(31)
11+
compileSdkVersion(34)
1212
defaultConfig {
1313
minSdk = 21
14-
targetSdk = 31
14+
targetSdk = 34
1515
versionCode = 1
1616
versionName = "1.0"
1717
}
@@ -27,7 +27,7 @@ fun Project.kotlinMultiplatform(
2727
explicitApi()
2828
}
2929

30-
android {
30+
androidTarget {
3131
if (project.plugins.hasPlugin("com.vanniktech.maven.publish")) {
3232
publishLibraryVariants("release")
3333
}

gradle.properties

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8
2+
org.gradle.unsafe.configuration-cache=false
3+
4+
org.jetbrains.compose.experimental.macos.enabled=true
5+
org.jetbrains.compose.experimental.uikit.enabled=true
6+
org.jetbrains.compose.experimental.jscanvas.enabled=true
7+
28
android.useAndroidX=true
39
android.enableJetifier=false
4-
kotlin.code.style=official
10+
android.defaults.buildfeatures.buildconfig = false
511

6-
kotlin.native.cacheKind=none
12+
kotlin.code.style=official
713
kotlin.native.useEmbeddableCompilerJar=true
814
# Enable kotlin/native experimental memory model
915
kotlin.native.ignoreDisabledTargets=true
1016
kotlin.native.binary.memoryModel=experimental
1117
kotlin.mpp.stability.nowarn=true
12-
18+
kotlin.mpp.androidSourceSetLayoutVersion=2
1319
# Compose dependencies currently requires to be CompileOny if we want to both
1420
# support Android only projects and multiplatform projects.
1521
# based on the issue below, it seems to only have issues with compileOnly
@@ -19,14 +25,6 @@ kotlin.mpp.stability.nowarn=true
1925
# https://youtrack.jetbrains.com/issue/KT-46377
2026
kotlin.native.ignoreIncorrectDependencies=true
2127

22-
android.defaults.buildfeatures.buildconfig = false
23-
24-
org.jetbrains.compose.experimental.macos.enabled=true
25-
org.jetbrains.compose.experimental.uikit.enabled=true
26-
org.jetbrains.compose.experimental.jscanvas.enabled=true
27-
28-
kotlin.mpp.androidSourceSetLayoutVersion=2
29-
3028
# Maven
3129
SONATYPE_HOST=S01
3230
SONATYPE_AUTOMATIC_RELEASE=true

gradle/libs.versions.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
[versions]
2-
plugin-android = "7.4.2"
3-
plugin-ktlint = "10.2.1"
2+
plugin-android = "8.1.2"
3+
plugin-ktlint = "11.6.1"
44
plugin-maven = "0.22.0"
55

6-
kotlin = "1.8.20"
6+
kotlin = "1.9.10"
77

8-
ksp = "1.8.20-1.0.10"
8+
ksp = "1.9.10-1.0.13"
99
caseFormat = "0.2.0"
1010
konsumeXml = "1.0"
1111

12-
appCompat = "1.4.1"
13-
compose = "1.3.0"
14-
composeCompiler = "1.4.5"
15-
composeActivity = "1.4.0"
16-
composeMultiplatform = "1.4.0"
12+
appCompat = "1.6.1"
13+
compose = "1.5.4"
14+
composeCompiler = "1.5.3"
15+
composeActivity = "1.8.0"
16+
composeMultiplatform = "1.5.3"
1717

18-
test-junit = "1.1.1"
18+
test-junit = "1.1.5"
1919

2020
[libraries]
2121
plugin-android = { module = "com.android.tools.build:gradle", version.ref = "plugin-android" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

kotlin-module.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apply plugin: 'kotlin'
22

33
compileKotlin {
44
kotlinOptions {
5-
jvmTarget = JavaVersion.VERSION_1_8.toString()
65
freeCompilerArgs += '-Xexplicit-api=strict'
76
}
87
}

lyricist-compose/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ plugins {
55
id("com.vanniktech.maven.publish")
66
}
77

8+
android {
9+
namespace = "cafe.adriel.lyricist"
10+
}
11+
812
kotlinMultiplatform()
913

1014
kotlin {

lyricist-compose/src/androidMain/AndroidManifest.xml

Lines changed: 0 additions & 2 deletions
This file was deleted.

lyricist-core/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ plugins {
44
id("com.vanniktech.maven.publish")
55
}
66

7+
android {
8+
namespace = "cafe.adriel.lyricist.core"
9+
}
10+
711
kotlinMultiplatform()

0 commit comments

Comments
 (0)