Skip to content

Commit

Permalink
Update Spring Boot versions and add dependency properties
Browse files Browse the repository at this point in the history
Replaced hardcoded Spring Boot and Dependency Management versions with variables in multiple build.gradle files. Added new properties to gradle.properties and updated the Gradle wrapper version.
  • Loading branch information
satran004 committed Oct 11, 2024
1 parent 9b1167e commit 3e1fcde
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion applications/admin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot' version '3.2.2'
id 'org.springframework.boot' version "${springBootVersion}"
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion applications/aggregation-app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot' version '3.2.2'
id 'org.springframework.boot' version "${springBootVersion}"
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion applications/all/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot' version '3.2.2'
id 'org.springframework.boot' version "${springBootVersion}"
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion applications/gateway/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot' version '3.2.2'
id 'org.springframework.boot' version "${springBootVersion}"
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion applications/utxo-indexer/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot' version '3.2.2'
id 'org.springframework.boot' version "${springBootVersion}"
}

dependencies {
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
plugins {
id 'maven-publish'
id 'signing'
id 'org.flywaydb.flyway' version '9.22.3'
id 'org.flywaydb.flyway' version '10.17.3'
id 'nu.studer.jooq' version '8.2.3'
id 'io.spring.dependency-management' version '1.1.4'
id 'io.spring.dependency-management' version "${springDependencyManagementVersion}"

id 'org.ajoberstar.grgit' version '5.2.0'
}
Expand All @@ -30,8 +30,8 @@ subprojects {

dependencyManagement {
imports {
mavenBom("org.springframework.boot:spring-boot-dependencies:3.2.2")
mavenBom "org.springframework.cloud:spring-cloud-dependencies:2023.0.0"
mavenBom("org.springframework.boot:spring-boot-dependencies:${springBootVersion}")
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}

Expand Down
1 change: 1 addition & 0 deletions components/common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies {

implementation 'org.flywaydb:flyway-core'
implementation "org.flywaydb:flyway-mysql"
implementation "org.flywaydb:flyway-database-postgresql"
}

publishing {
Expand Down
5 changes: 5 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
group = com.bloxbean.cardano
version = 0.1.0-rc7-SNAPSHOT

springBootVersion=3.3.4
springCloudVersion=2023.0.3
springDependencyManagementVersion=1.1.6
graalvmBuildToolVersion=0.10.2
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 3e1fcde

Please sign in to comment.