@@ -13,8 +13,6 @@ plugins {
1313group = ' org.finos.gitproxy'
1414version = ' 0.0.1-SNAPSHOT'
1515
16- // Gitleaks version bundled into the JAR for hermetic secret scanning
17- ext. gitleaksVersion = ' 8.21.2'
1816
1917java {
2018 sourceCompatibility = JavaVersion . VERSION_21
@@ -32,20 +30,6 @@ repositories {
3230 }
3331}
3432
35- ext {
36- jgitVersion = ' 7.6.0.202603022253-r'
37- apacheHttpVersion = ' 4.5.14'
38- jettyVersion = ' 12.1.8'
39- jakartaServletVersion = ' 6.1.0'
40- slf4jVersion = ' 2.0.17'
41- logbackVersion = ' 1.5.32'
42- hikariVersion = ' 7.0.2'
43- h2Version = ' 2.4.240'
44- sqliteVersion = ' 3.51.3.0'
45- postgresVersion = ' 42.7.10'
46- mongoVersion = ' 5.6.4'
47- testContainersVersion = ' 2.0.4'
48- }
4933
5034dependencies {
5135 // Servlet API
@@ -55,12 +39,12 @@ dependencies {
5539 api " jakarta.annotation:jakarta.annotation-api:3.0.0"
5640
5741 // Apache Commons Validator for email validation
58- implementation " commons-validator:commons-validator:1.10.1 "
42+ implementation " commons-validator:commons-validator:${ commonsValidatorVersion } "
5943
6044 // BouncyCastle for GPG signature verification
61- implementation " org.bouncycastle:bcprov-jdk18on:1.83 "
62- implementation " org.bouncycastle:bcpg-jdk18on:1.83 "
63-
45+ implementation " org.bouncycastle:bcprov-jdk18on:${ bouncyCastleVersion } "
46+ implementation " org.bouncycastle:bcpg-jdk18on:${ bouncyCastleVersion } "
47+
6448 // JGit dependencies
6549 api " org.eclipse.jgit:org.eclipse.jgit:${ jgitVersion} "
6650 implementation " org.eclipse.jgit:org.eclipse.jgit.http.apache:${ jgitVersion} "
@@ -71,7 +55,7 @@ dependencies {
7155
7256
7357 // Jackson for JSON — BOM pins all jackson-* modules to the same version
74- api platform(' tools.jackson:jackson-bom:3.1.1 ' )
58+ api platform(" tools.jackson:jackson-bom:${ jacksonBomVersion } " )
7559 api " tools.jackson.core:jackson-databind"
7660
7761 // Logging
@@ -97,23 +81,23 @@ dependencies {
9781 compileOnly " org.mongodb:mongodb-driver-sync:${ mongoVersion} "
9882
9983 // Lombok
100- compileOnly ' org.projectlombok:lombok:1.18.44 '
101- annotationProcessor ' org.projectlombok:lombok:1.18.44 '
84+ compileOnly " org.projectlombok:lombok:${ lombokVersion } "
85+ annotationProcessor " org.projectlombok:lombok:${ lombokVersion } "
10286
10387 // Testing
104- testImplementation ' org.junit.jupiter:junit-jupiter-api:5.14.3 '
105- testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.14.3 '
88+ testImplementation " org.junit.jupiter:junit-jupiter-api:${ junitVersion } "
89+ testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine:${ junitVersion } "
10690 testRuntimeOnly " com.h2database:h2:${ h2Version} "
10791 testRuntimeOnly " org.xerial:sqlite-jdbc:${ sqliteVersion} "
108- testImplementation ' org.mockito:mockito-core:5.17.0 '
109- testImplementation ' org.junit.jupiter:junit-jupiter-params:5.14.3 '
110- testRuntimeOnly ' org.junit.platform:junit-platform-launcher:1.14.3 '
92+ testImplementation " org.mockito:mockito-core:${ mockitoVersion } "
93+ testImplementation " org.junit.jupiter:junit-jupiter-params:${ junitVersion } "
94+ testRuntimeOnly " org.junit.platform:junit-platform-launcher:${ junitPlatformVersion } "
11195 testImplementation " org.mongodb:mongodb-driver-sync:${ mongoVersion} "
11296 testImplementation " org.testcontainers:testcontainers:${ testContainersVersion} "
11397 testImplementation " org.testcontainers:testcontainers-junit-jupiter:${ testContainersVersion} "
11498 testImplementation " org.testcontainers:testcontainers-mongodb:${ testContainersVersion} "
115- testCompileOnly ' org.projectlombok:lombok:1.18.44 '
116- testAnnotationProcessor ' org.projectlombok:lombok:1.18.44 '
99+ testCompileOnly " org.projectlombok:lombok:${ lombokVersion } "
100+ testAnnotationProcessor " org.projectlombok:lombok:${ lombokVersion } "
117101}
118102
119103tasks. named(' test' ) {
0 commit comments