File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed
Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 1- @Suppress(" DSL_SCOPE_VIOLATION" )
21plugins {
32 id(" java-library" )
4- alias(libs.plugins.spring.boot)
53 id(" maven-publish" )
64 id(" signing" )
75}
8- apply (plugin = " io.spring.dependency-management" )
96
107group = " org.flmelody"
11- version = " 1.0.0 -spring6"
8+ version = " 1.0.1 -spring6"
129
1310repositories {
1411 mavenCentral()
1512}
1613
1714dependencies {
1815 implementation(libs.guava)
19- compileOnly(" org.springframework .boot:spring-boot-starter- web" )
16+ compileOnly(libs.spring .boot. web)
2017 testImplementation(platform(" org.junit:junit-bom:5.9.1" ))
2118 testImplementation(" org.junit.jupiter:junit-jupiter" )
2219}
@@ -34,7 +31,7 @@ tasks.jar {
3431 mapOf (
3532 " Implementation-Title" to project.name,
3633 " Implementation-Version" to project.version,
37- " Compiled-Spring-Version" to libs.plugins .spring.boot.get().version
34+ " Compiled-Spring-Boot- Version" to libs.versions .spring.boot.version. get()
3835 )
3936 )
4037 }
Original file line number Diff line number Diff line change 11[versions ]
2- boot-plugin = " 3.3.0"
3- google-guava = " 33.2.0-jre"
2+ spring- boot-version = " 3.3.0"
3+ google-guava-version = " 33.2.0-jre"
44
55[plugins ]
6- spring-boot = { id = " org.springframework.boot" , version.ref = " boot-plugin" }
76
87[libraries ]
9- guava = { module = " com.google.guava:guava" , version.ref = " google-guava" }
8+ spring-boot-web = { module = " org.springframework.boot:spring-boot-starter-web" , version.ref = " spring-boot-version" }
9+ guava = { module = " com.google.guava:guava" , version.ref = " google-guava-version" }
You can’t perform that action at this time.
0 commit comments