Skip to content

Commit

Permalink
Revert the name of the kotlinx-runtime-module in the resolution config
Browse files Browse the repository at this point in the history
WA for broken atomicfu compiler plugin dependency in kotlin 1.7.0
(See: Kotlin/kotlinx-atomicfu#232)
  • Loading branch information
mvicsokolova authored and woainikk committed Nov 12, 2023
1 parent 042fbfc commit c4a228e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ val buildSnapshotTrain = properties["build_snapshot_train"]?.toString()?.toBoole
repositories {
mavenCentral()
maven("https://plugins.gradle.org/m2")
maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev")

maven("https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev")
maven("https://cache-redirector.jetbrains.com/plugins.gradle.org/m2")
maven("https://plugins.gradle.org/m2")
mavenLocal()
if (buildSnapshotTrain) {
mavenLocal()
}
Expand All @@ -28,7 +30,10 @@ configurations.configureEach {
if (isCanBeResolved) {
attributes {
@Suppress("UnstableApiUsage")
attribute(GradlePluginApiVersion.GRADLE_PLUGIN_API_VERSION_ATTRIBUTE, project.objects.named(GradleVersion.current().version))
attribute(
GradlePluginApiVersion.GRADLE_PLUGIN_API_VERSION_ATTRIBUTE,
project.objects.named(GradleVersion.current().version)
)
}
}
}
Expand Down
1 change: 1 addition & 0 deletions buildSrc/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pluginManagement {
repositories {
maven("https://plugins.gradle.org/m2")
maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev")
mavenCentral()
if (build_snapshot_train?.toBoolean() == true) {
mavenLocal()
}
Expand Down

0 comments on commit c4a228e

Please sign in to comment.