File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ repositories {
77}
88
99dependencies {
10- implementation(" io .freefair.gradle: lombok-plugin:9.5.0 " )
11- implementation(" io .spring.gradle: dependency- management-plugin:1.1.7 " )
12- implementation(" org.gradle.toolchains: foojay-resolver:0.9.0 " )
10+ implementation(libs .freefair.lombok.plugin )
11+ implementation(libs .spring.dependency. management.plugin )
12+ implementation(libs. foojay.resolver )
1313}
1414
1515kotlin {
Original file line number Diff line number Diff line change 1- rootProject.name = " buildSrc"
1+ // Share the root project's version catalog with buildSrc so plugin-jar versions live in
2+ // gradle/libs.versions.toml alongside everything else.
3+ dependencyResolutionManagement {
4+ versionCatalogs {
5+ create(" libs" ) {
6+ from(files(" ../gradle/libs.versions.toml" ))
7+ }
8+ }
9+ }
Original file line number Diff line number Diff line change 11[versions ]
2+ foojayResolver = " 0.9.0"
3+ freefairLombok = " 9.5.0"
4+ hydraClient = " 26.2.0"
5+ javaJwt = " 4.5.2"
6+ playwright = " 1.61.0"
7+ springBoot = " 4.1.0"
8+ springDependencyManagement = " 1.1.7"
29# Default pin. CI overrides this via -PtestcontainersOryHydraVersion (see settings.gradle.kts);
310# do not inline this version back into build.gradle.kts.
411testcontainersOryHydra = " 0.0.6"
512
613[libraries ]
14+ auth0-java-jwt = { module = " com.auth0:java-jwt" , version.ref = " javaJwt" }
15+ # Plugin jars consumed by buildSrc (see buildSrc/settings.gradle.kts for the catalog import).
16+ foojay-resolver = { module = " org.gradle.toolchains:foojay-resolver" , version.ref = " foojayResolver" }
17+ freefair-lombok-plugin = { module = " io.freefair.gradle:lombok-plugin" , version.ref = " freefairLombok" }
18+ microsoft-playwright = { module = " com.microsoft.playwright:playwright" , version.ref = " playwright" }
19+ ory-hydra-client = { module = " sh.ory.hydra:hydra-client" , version.ref = " hydraClient" }
20+ spring-dependency-management-plugin = { module = " io.spring.gradle:dependency-management-plugin" , version.ref = " springDependencyManagement" }
721testcontainers-ory-hydra = { module = " com.ardetrick.testcontainers:testcontainers-ory-hydra" , version.ref = " testcontainersOryHydra" }
22+
23+ [plugins ]
24+ spring-boot = { id = " org.springframework.boot" , version.ref = " springBoot" }
Original file line number Diff line number Diff line change 11plugins {
2- id( " org.springframework. boot" ) version " 4.1.0 "
2+ alias(libs.plugins.spring. boot)
33 id(" project.java-conventions" )
44}
55
@@ -9,11 +9,11 @@ dependencies {
99 implementation(" org.springframework.boot:spring-boot-starter-security" )
1010 implementation(" org.springframework.boot:spring-boot-starter-web" )
1111 implementation(" org.springframework.session:spring-session-core" )
12- implementation(" sh .ory.hydra:hydra-client:26.2.0 " )
12+ implementation(libs .ory.hydra.client )
1313
1414 testImplementation(libs.testcontainers.ory.hydra)
15- testImplementation(" com .auth0: java-jwt:4.5.2 " )
16- testImplementation(" com .microsoft.playwright:playwright:1.61.0 " )
15+ testImplementation(libs .auth0. java.jwt )
16+ testImplementation(libs .microsoft.playwright)
1717 testImplementation(" org.springframework.boot:spring-boot-starter-test" )
1818 testImplementation(" org.springframework.boot:spring-boot-starter-webmvc-test" )
1919}
You can’t perform that action at this time.
0 commit comments