Skip to content

Commit

Permalink
Fix kofu-tutorial build
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed Apr 5, 2022
1 parent 74cc788 commit 2c4f04b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
8 changes: 4 additions & 4 deletions samples/kofu-tutorial/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id("org.springframework.boot") version "2.6.3"
id("org.springframework.boot") version "2.6.6"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
kotlin("jvm") version "1.6.10"
kotlin("kapt") version "1.6.10"
Expand All @@ -13,10 +13,10 @@ java.sourceCompatibility = JavaVersion.VERSION_11
val kofuVersion = "0.5.1"

repositories {
maven {
url = uri("https://repo.spring.io/milestone")
}
mavenLocal()
mavenCentral()
maven("https://repo.spring.io/milestone")
maven("https://repo.spring.io/snapshot")
}

dependencies {
Expand Down
16 changes: 16 additions & 0 deletions samples/kofu-tutorial/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
rootProject.name = "kofu-tutorial"

pluginManagement {
repositories {
gradlePluginPortal()
maven("https://repo.spring.io/milestone")
maven("https://repo.spring.io/snapshot")
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == "org.springframework.boot") {
useModule("org.springframework.boot:spring-boot-gradle-plugin:${requested.version}")
}
}
}
}

0 comments on commit 2c4f04b

Please sign in to comment.