-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (41 loc) · 1.26 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
plugins {
id "java-library"
id "maven-publish"
}
group = "com.github.malczuuu"
version = "3.1.0-SNAPSHOT"
sourceCompatibility = "17"
targetCompatibility = "17"
repositories {
mavenCentral()
maven { url "https://jitpack.io/" }
}
dependencies {
compileOnly("org.springframework:spring-webmvc:6.0.0")
compileOnly("org.springframework.boot:spring-boot-autoconfigure:3.0.0")
compileOnly("org.springframework.boot:spring-boot-configuration-processor:3.0.0")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor:3.0.0")
compileOnly("jakarta.servlet:jakarta.servlet-api:6.0.0")
api("org.slf4j:slf4j-api:2.0.0")
api("com.github.malczuuu:problem4j-jackson:3.0.0")
testRuntimeOnly("jakarta.servlet:jakarta.servlet-api:6.0.0")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.2")
testImplementation("org.springframework.boot:spring-boot-starter-test:3.0.0") {
exclude group: "junit", module: "junit"
}
}
tasks.named("test") {
useJUnitPlatform()
}
java {
withSourcesJar()
withJavadocJar()
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}