File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ plugins {
22 `java- library`
33 `maven- publish`
44 signing
5- id( " io.github.gradle- nexus.publish-plugin " ) version " 2.0.0 "
5+ alias(libs.plugins. nexus.publish)
66}
77
88group = " com.widen"
99version = " 3.0.0-SNAPSHOT"
1010description = " Utility class for constructing syntactically correct HTTP URLs using a fluent method-chaining API"
1111
12- val repoUrl = " https://github.com/Widen/${project.name} "
12+ val repoUrl = " https://github.com/Widen/urlbuilder "
1313
1414java {
1515 toolchain {
@@ -24,17 +24,16 @@ repositories {
2424}
2525
2626dependencies {
27- implementation(" org.bouncycastle:bcprov-jdk15to18:1.83" )
28- implementation(" org.bouncycastle:bcpkix-jdk15to18:1.83" )
27+ implementation(libs.bundles.bouncycastle)
2928
3029 // JUnit 5
31- testImplementation(platform(" org .junit:junit-bom:5.13.4 " ))
32- testImplementation(" org .junit.jupiter:junit-jupiter " )
33- testRuntimeOnly(" org .junit.platform:junit-platform- launcher" )
30+ testImplementation(platform(libs .junit.bom ))
31+ testImplementation(libs .junit.jupiter)
32+ testRuntimeOnly(libs .junit.platform. launcher)
3433
3534 // Other test dependencies
36- testImplementation(" commons-io:commons-io:2.21.0 " )
37- testImplementation(" org .slf4j:slf4j-simple:2.0.17 " )
35+ testImplementation(libs. commons.io )
36+ testImplementation(libs .slf4j.simple )
3837}
3938
4039tasks.test {
Original file line number Diff line number Diff line change 1+ [versions ]
2+ bouncycastle = " 1.83"
3+ commons-io = " 2.21.0"
4+ junit = " 5.13.4"
5+ nexus-publish = " 2.0.0"
6+ slf4j = " 2.0.17"
7+
8+ [libraries ]
9+ bouncycastle-bcprov = { module = " org.bouncycastle:bcprov-jdk15to18" , version.ref = " bouncycastle" }
10+ bouncycastle-bcpkix = { module = " org.bouncycastle:bcpkix-jdk15to18" , version.ref = " bouncycastle" }
11+ commons-io = { module = " commons-io:commons-io" , version.ref = " commons-io" }
12+ junit-bom = { module = " org.junit:junit-bom" , version.ref = " junit" }
13+ junit-jupiter = { module = " org.junit.jupiter:junit-jupiter" }
14+ junit-platform-launcher = { module = " org.junit.platform:junit-platform-launcher" }
15+ slf4j-simple = { module = " org.slf4j:slf4j-simple" , version.ref = " slf4j" }
16+
17+ [bundles ]
18+ bouncycastle = [" bouncycastle-bcprov" , " bouncycastle-bcpkix" ]
19+
20+ [plugins ]
21+ nexus-publish = { id = " io.github.gradle-nexus.publish-plugin" , version.ref = " nexus-publish" }
You can’t perform that action at this time.
0 commit comments