Skip to content

Commit

Permalink
Merge pull request #291 from usefulness/renovate/kotlin-monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski authored Jul 6, 2023
2 parents c289cc0 + 35c81ae commit cd75df3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapperKt
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
Expand All @@ -16,11 +15,10 @@ commonConfig {

allprojects {
pluginManager.withPlugin("kotlin") { plugin ->
def kotlinVersion = KotlinPluginWrapperKt.getKotlinPluginVersion(project)
configurations.matching { it.name != "detekt" }.configureEach {
resolutionStrategy.eachDependency {
if (requested.group == 'org.jetbrains.kotlin' && requested.name.startsWith("kotlin")) {
useVersion kotlinVersion
useVersion libs.versions.mavencentral.kotlin.get()
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
gradle-starter = "0.61.1"
gradle-gradledoctor = "0.8.1"
gradle-johnrengelman-shadow = "8.1.1"
mavencentral-kotlin = "1.8.22"
mavencentral-kotlin = "1.9.0"
mavencentral-junit = "5.9.3"
mavencentral-assertj = "3.24.2"
mavencentral-coroutines = "1.7.2"
Expand Down Expand Up @@ -33,7 +33,6 @@ jetbrains-dokka = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.

[plugins]
osacky-gradledoctor = { id = "com.osacky.doctor", version.ref = "gradle-gradledoctor" }
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "mavencentral-kotlin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "mavencentral-kotlin" }
starter-config = { id = "com.starter.config", version.ref = "gradle-starter" }
starter-library-kotlin = { id = "com.starter.library.kotlin", version.ref = "gradle-starter" }
Expand Down

0 comments on commit cd75df3

Please sign in to comment.