File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ plugins {
22 id ' java'
33 id ' org.springframework.boot' version ' 3.3.4'
44 id ' io.spring.dependency-management' version ' 1.1.6'
5+ id ' maven-publish'
56}
67
78group = ' com.example'
@@ -13,14 +14,25 @@ java {
1314 }
1415}
1516
17+ publishing {
18+ publications {
19+ mavenJava(MavenPublication ) {
20+ groupId = ' com.example'
21+ artifactId = ' ImageModuleLibrary'
22+ version = ' 1.0.0'
23+ from components. java
24+ }
25+ }
26+ }
27+
1628repositories {
1729 mavenCentral()
1830}
1931
2032dependencies {
21- implementation ' org.springframework.boot:spring-boot-starter-web'
22- testImplementation ' org.springframework.boot:spring-boot-starter-test'
23- testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
33+ implementation ' org.springframework.boot:spring-boot-starter-web:3.3.4 '
34+ testImplementation ' org.springframework.boot:spring-boot-starter-test:3.3.4 '
35+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher:1.10.0 '
2436}
2537
2638tasks. named(' test' ) {
You can’t perform that action at this time.
0 commit comments