Skip to content

Commit

Permalink
move global versions to root build file to enable version scanning (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
farrell-m authored Oct 22, 2024
1 parent 259cd4a commit 25ada44
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
19 changes: 19 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@ plugins {
id 'checkstyle'
}

// Set Global Versions

// org.springframework.boot:spring-boot-gradle-plugin
// org.springframework.boot:spring-boot-dependencies
ext.springBootVersion = "3.3.4"

// io.spring.gradle:dependency-management-plugin
ext.springBootDependencyManagementPluginVersion = "1.1.6"

// com.github.ben-manes:gradle-versions-plugin
ext.gradleVersionsPluginVersion = "0.51.0"

// checkstyle
ext.checkstyleVersion = "10.18.1"

// com.adarshr:gradle-test-logger-plugin
ext.testLoggerPluginVersion = "4.0.0"


subprojects {
// See https://github.com/gradle/gradle/issues/22317
tasks.withType(Test).configureEach {
Expand Down
16 changes: 0 additions & 16 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
version=0.0.8-SNAPSHOT

# org.springframework.boot:spring-boot-gradle-plugin
# org.springframework.boot:spring-boot-dependencies
springBootVersion = 3.3.4

# io.spring.gradle:dependency-management-plugin
springBootDependencyManagementPluginVersion = 1.1.6

# com.github.ben-manes:gradle-versions-plugin
gradleVersionsPluginVersion = 0.51.0

# checkstyle
checkstyleVersion = 10.18.1

# com.adarshr:gradle-test-logger-plugin
testLoggerPluginVersion = 4.0.0

javaVersion = 21

0 comments on commit 25ada44

Please sign in to comment.