Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Omico committed Jul 25, 2024
1 parent 93c2a8d commit 2694989
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 15 deletions.
3 changes: 2 additions & 1 deletion build-logic/gradm/gradm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
versions:
consensus: "0.10.0"
consensus: "0.11.0"
gradle: "8.9"
kotlin: "2.0.0"
plugins:
Expand All @@ -18,6 +18,7 @@ plugins:
omico:
me.omico.consensus.api: ${versions.consensus}
me.omico.consensus.git: ${versions.consensus}
me.omico.consensus.root: ${versions.consensus}
me.omico.consensus.spotless: ${versions.consensus}

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion build-logic/initialization/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rootProject.name = "gpi-initialization"
rootProject.name = "gpi-build-logic-initialization"

pluginManagement {
includeBuild("../gradm")
Expand Down
1 change: 1 addition & 0 deletions build-logic/project/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ dependencies {
implementation(kotlinGradlePlugin)
implementation(me.omico.consensus.api)
implementation(me.omico.consensus.git)
implementation(me.omico.consensus.root)
implementation(me.omico.consensus.spotless)
}
2 changes: 1 addition & 1 deletion build-logic/project/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rootProject.name = "gpi-project"
rootProject.name = "gpi-build-logic-project"

pluginManagement {
includeBuild("../gradm")
Expand Down
14 changes: 2 additions & 12 deletions build-logic/project/src/main/kotlin/gpi.root.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
import me.omico.consensus.api.dsl.requireRootProject

plugins {
id("me.omico.consensus.root")
id("gpi.gradm")
id("gpi.root.git")
id("gpi.root.spotless")
}

requireRootProject()

consensus {
allprojects {
group = gradleProperty("project.group")
version = gradleProperty("project.version")
}
}

val wrapper: Wrapper by tasks.named<Wrapper>("wrapper") {
tasks.named<Wrapper>("wrapper") {
gradleVersion = versions.gradle
distributionType = Wrapper.DistributionType.BIN
}

0 comments on commit 2694989

Please sign in to comment.