Skip to content

Commit 54ea652

Browse files
committed
Chore: #1 build.gradle 설정 추가
build.gradle에 jitpack에 필요한 설정 추가
1 parent f632d17 commit 54ea652

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

build.gradle

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff 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

78
group = '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+
1628
repositories {
1729
mavenCentral()
1830
}
1931

2032
dependencies {
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

2638
tasks.named('test') {

0 commit comments

Comments
 (0)