-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
78 lines (65 loc) · 1.87 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import com.vanniktech.maven.publish.SonatypeHost
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.7'
id 'io.spring.dependency-management' version '1.1.7'
id "com.vanniktech.maven.publish" version "0.28.0"
id 'signing'
}
group = 'io.github.deayoung0726'
version = '0.1.0'
signing {
sign publishing.publications
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web:3.3.7'
}
tasks {
bootJar {
enabled = false
}
jar {
enabled = true
}
}
tasks.named('test') {
useJUnitPlatform()
}
mavenPublishing {
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
signAllPublications()
coordinates("io.github.daeyoung0726", "api-link-checker", "0.1.0")
pom {
name = "api-link-checker"
description = "A lightweight library for tracking and managing API links with Swagger integration and real-time UI updates."
inceptionYear = "2024"
url = "https://github.com/daeyoung0726/api-link-checker"
licenses {
license {
name = "The Apache License, Version 2.0"
url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
distribution = "https://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
developers {
developer {
id = "deayoung0726"
name = "Daeyoung Park"
url = "https://github.com/daeyoung0726"
}
}
scm {
connection = "scm:git:github.com/daeyoung0726/api-link-checker.git"
developerConnection = "scm:git:ssh://github.com:daeyoung0726/api-link-checker.git"
url = "https://github.com/daeyoung0726/api-link-checker/tree/main"
}
}
}