File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed
Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change 1- plugins {
2- id(" java" )
3- id(" java-library" )
4- id(" maven-publish" )
5- }
6-
71subprojects {
82 plugins.apply (" java" )
93 plugins.apply (" java-library" )
@@ -14,13 +8,13 @@ subprojects {
148 }
159
1610 dependencies {
17- testCompileOnly(" org.projectlombok:lombok:1.18.34" )
18- testAnnotationProcessor(" org.projectlombok:lombok:1.18.34" )
19- testImplementation(platform(" org.junit:junit-bom:5.10.0" ))
20- testImplementation(" org.junit.jupiter:junit-jupiter" )
11+ " testCompileOnly" (" org.projectlombok:lombok:1.18.34" )
12+ " testAnnotationProcessor" (" org.projectlombok:lombok:1.18.34" )
13+ " testImplementation" (platform(" org.junit:junit-bom:5.10.0" ))
14+ " testImplementation" (" org.junit.jupiter:junit-jupiter" )
2115 }
2216
23- java {
17+ extensions.configure< JavaPluginExtension > {
2418 toolchain.languageVersion = JavaLanguageVersion .of(17 )
2519
2620 withSourcesJar()
@@ -30,15 +24,15 @@ subprojects {
3024 withType<JavaCompile > {
3125 options.encoding = Charsets .UTF_8 .name()
3226 options.release = 17
33- dependsOn(clean)
27+ dependsOn(" clean" )
3428 }
3529
3630 withType<Test > {
3731 useJUnitPlatform()
3832 }
3933 }
4034
41- publishing {
35+ extensions.configure< PublishingExtension > {
4236 repositories {
4337 val repoType = if (version.toString().endsWith(" -SNAPSHOT" )) " snapshots" else " releases"
4438 maven(" https://repo.roxymc.net/${repoType} " ) {
@@ -55,4 +49,4 @@ subprojects {
5549 }
5650 }
5751 }
58- }
52+ }
You can’t perform that action at this time.
0 commit comments