Skip to content

Commit

Permalink
Manage dependencies versions in build.gradle (#58)
Browse files Browse the repository at this point in the history
* Add dependency versions separately from the dependency itself

* Aggregate dependencies version in build.gradle
  • Loading branch information
dvillavicencio authored Jan 29, 2024
1 parent 83f9136 commit b3d94b8
Showing 1 changed file with 44 additions and 30 deletions.
74 changes: 44 additions & 30 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,50 +28,64 @@ repositories {
ext {
set('snippetsDir', file("build/generated-snippets"))
set('springCloudVersion', "2023.0.0-RC1")
set('apacheCollectionsVersion', '4.4')
set('pandoCryptoVersion', '1.1.1')
set('postgresqlVersion', '42.5.1')
set('postgresR2dbcVersion', '0.8.13.RELEASE')
set('flywayCoreVersion', '10.6.0')
set('flywayPostgresVersion', '10.4.1')
set('commonsCodecVersion', '1.15')
set('lombokVersion', '1.18.30')
set('aspectJWeaverVersion', '1.8.9')
set('aspectJRTVersion', '1.9.20')
set('i2pCryptoVersion', '0.3.0')
set('IOCommonsVersion', '2.15.1')
set('reactorTestVersion', '3.6.0')
set('flywayTestVersion', '10.0.0')
set('tcPostgresVersion', '1.19.4')
set('tcJdbcVersion', '1.19.4')
set('tcR2dbcVersion', '1.19.4')
set('testContainersVersion', '1.19.2')
set('tcJunitVersion', '1.19.3')
set('junitJupiterParamsVersion', '5.10.1')
}

jar {
enabled = false
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-data-r2dbc'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-devtools'
implementation 'org.springframework.session:spring-session-data-redis'
implementation 'org.postgresql:postgresql:42.5.1'
implementation 'io.r2dbc:r2dbc-postgresql:0.8.13.RELEASE'
implementation "org.flywaydb:flyway-core:10.6.0"
implementation 'org.flywaydb:flyway-database-postgresql:10.4.1'
implementation 'org.aspectj:aspectjrt:1.9.20'
implementation 'org.aspectj:aspectjweaver:1.8.9'
implementation 'org.projectlombok:lombok:1.18.30'
implementation 'net.i2p.crypto:eddsa:0.3.0'
implementation 'commons-codec:commons-codec:1.15'
implementation 'software.pando.crypto:salty-coffee:1.1.1'
implementation 'org.mapstruct:mapstruct:1.5.5.Final'
implementation 'org.apache.commons:commons-collections4:4.4'
implementation 'commons-io:commons-io:2.15.1'
implementation "net.i2p.crypto:eddsa:${i2pCryptoVersion}"
implementation "commons-io:commons-io:${IOCommonsVersion}"
implementation "org.projectlombok:lombok:${lombokVersion}"
implementation "org.aspectj:aspectjrt:${aspectJRTVersion}"
implementation "org.flywaydb:flyway-core:${flywayCoreVersion}"
implementation "org.postgresql:postgresql:${postgresqlVersion}"
implementation "io.r2dbc:r2dbc-postgresql:${postgresR2dbcVersion}"
implementation "org.aspectj:aspectjweaver:${aspectJWeaverVersion}"
implementation "commons-codec:commons-codec:${commonsCodecVersion}"
implementation "software.pando.crypto:salty-coffee:${pandoCryptoVersion}"
implementation "org.apache.commons:commons-collections4:${apacheCollectionsVersion}"
implementation "org.flywaydb:flyway-database-postgresql:${flywayPostgresVersion}"
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'io.projectreactor:reactor-test:3.6.0'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
testImplementation 'org.flywaydb.flyway-test-extensions:flyway-spring-test:10.0.0'
testImplementation "org.testcontainers:postgresql:1.19.4"
testImplementation 'org.testcontainers:jdbc:1.19.4'
testImplementation 'org.testcontainers:r2dbc:1.19.4'
testImplementation "org.junit.jupiter:junit-jupiter-params:5.10.1"
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
testImplementation "org.testcontainers:testcontainers:1.19.2"
testImplementation "org.testcontainers:mongodb:1.19.3"
testImplementation "org.testcontainers:junit-jupiter:1.19.3"
testImplementation 'org.springframework.cloud:spring-cloud-starter-contract-stub-runner'
testAnnotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation "org.testcontainers:jdbc:${tcJdbcVersion}"
testImplementation "org.testcontainers:r2dbc:${tcR2dbcVersion}"
testImplementation "org.testcontainers:postgresql:${tcPostgresVersion}"
testImplementation "org.testcontainers:junit-jupiter:${tcJunitVersion}"
testImplementation "io.projectreactor:reactor-test:${reactorTestVersion}"
testImplementation "org.testcontainers:testcontainers:${testContainersVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-params:${junitJupiterParamsVersion}"
testImplementation "org.flywaydb.flyway-test-extensions:flyway-spring-test:${flywayTestVersion}"
}

dependencyManagement {
Expand Down

0 comments on commit b3d94b8

Please sign in to comment.