Skip to content

Commit

Permalink
disable spring boot plugin while keeping dependency management
Browse files Browse the repository at this point in the history
  • Loading branch information
kozjan committed Sep 4, 2023
1 parent 54acc6a commit 9f765b1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
10 changes: 7 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ plugins {
id "org.jlleitschuh.gradle.ktlint-idea" version "10.2.0"
id "io.gitlab.arturbosch.detekt" version "1.18.0"
id 'io.github.gradle-nexus.publish-plugin' version '1.0.0'
id 'org.springframework.boot' version '3.1.2'
id 'org.springframework.boot' version '3.1.2' apply false

}

Expand All @@ -30,8 +30,6 @@ scmVersion {
versionCreator 'versionWithBranch'
}

project.gradle.startParameter.excludedTaskNames.add("bootJar")

allprojects {

project.group = 'pl.allegro.tech.servicemesh'
Expand Down Expand Up @@ -60,6 +58,12 @@ allprojects {
re2j : '1.3',
xxhash : '0.10.1',
]

dependencyManagement {
imports {
mavenBom org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES
}
}
}


Expand Down
2 changes: 1 addition & 1 deletion envoy-control-core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot'
id 'org.springframework.boot' apply false
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion envoy-control-runner/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'application'
id 'org.springframework.boot'
id 'org.springframework.boot' apply false
}

mainClassName = 'pl.allegro.tech.servicemesh.envoycontrol.EnvoyControl'
Expand Down
2 changes: 1 addition & 1 deletion envoy-control-services/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot'
id 'org.springframework.boot' apply false
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion envoy-control-source-consul/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot'
id 'org.springframework.boot' apply false
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion envoy-control-tests/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot'
id 'org.springframework.boot' apply false
}

dependencies {
Expand Down

0 comments on commit 9f765b1

Please sign in to comment.