Skip to content

Commit

Permalink
chore(deps): update kotlin monorepo to v2.1.0 (#686)
Browse files Browse the repository at this point in the history
* chore(deps): update kotlin monorepo to v2.1.0

* use latest ktlint

* Fix multiplatform project

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mateusz Kwieciński <mateusz.kwiatek@gmail.com>
  • Loading branch information
renovate[bot] and mateuszkwiecinski authored Nov 28, 2024
1 parent 442a757 commit 630916e
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 5 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ allprojects {
}
}

pluginManager.withPlugin("io.github.usefulness.ktlint-gradle-plugin") {
ktlint {
ktlintVersion = libs.versions.maven.ktlint.get()
}
}

pluginManager.withPlugin(libs.plugins.kotlin.samwithreceiver.get().pluginId) {
samWithReceiver {
annotation("org.gradle.api.HasImplicitReceiver")
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gradle-gradlepublish = "1.3.0"
gradle-jacocotestkit = "1.0.12"
gradle-detekt = "1.23.7"
gradle-doctor = "0.10.0"
mavencentral-kotlin = "2.0.21"
mavencentral-kotlin = "2.1.0"
mavencentral-issuechecker = "0.4.0"
mavencentral-junit = "5.11.3"
mavencentral-assertj = "3.26.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ internal class MultiplatformLibraryPluginTest : WithGradleProjectTest() {
kotlin {
jvm()
ios()
iosX64()
iosArm64()
iosSimulatorArm64()
sourceSets {
commonTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ internal class MultiplatformQualityPluginTest : WithGradleProjectTest() {
kotlin {
jvm()
ios()
iosX64()
iosArm64()
iosSimulatorArm64()
}
""".trimIndent()
resolve("build.gradle") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ internal class IssueLinksCheckerTaskTest : WithGradleProjectTest() {
kotlin {
jvm()
ios()
iosX64()
iosArm64()
iosSimulatorArm64()
}
""".trimIndent()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ internal class MultiplatformVersioningPluginTest : WithGradleProjectTest() {
}
kotlin {
ios()
iosX64()
iosArm64()
iosSimulatorArm64()
}
""".trimIndent(),
)
Expand Down

0 comments on commit 630916e

Please sign in to comment.