-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
60 lines (48 loc) · 1.08 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
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.13'
id 'io.spring.dependency-management' version '1.1.5'
id 'maven-publish'
}
group = 'com.github.JaPangi'
version = '0.2.0'
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
}
dependencies {
// spring framework
implementation 'org.springframework.boot:spring-boot-starter'
// jackson object mapper
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.5'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.5'
// reflections api
implementation 'org.reflections:reflections:0.9.10'
// test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.named('test') {
useJUnitPlatform()
}
tasks.jar {
enabled = true
archiveClassifier.set("")
}
tasks.bootJar {
enabled = false
archiveClassifier.set("")
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}
wrapper {
gradleVersion = "7.5"
distributionType = Wrapper.DistributionType.ALL
}