-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
38 lines (32 loc) · 857 Bytes
/
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
plugins {
id 'com.github.johnrengelman.shadow' version '7.1.0'
id 'java'
}
group 'com.github.wyhasany'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation 'com.fasterxml.jackson.core:jackson-core:2.13.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.0'
testImplementation 'org.assertj:assertj-core:3.21.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
task testJar(type: Jar) {
manifest {
attributes 'Main-Class': 'com.github.wyhasany.Main'
}
}
shadowJar {
manifest {
inheritFrom project.tasks.testJar.manifest
}
archivesBaseName = 'converter-spring-boot-startup'
archiveClassifier = ''
archiveVersion = ''
}
test {
useJUnitPlatform()
}