-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (37 loc) · 1.55 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
plugins {
id 'java'
id 'application'
}
group 'org.example'
version '1'
repositories {
mavenCentral()
}
dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.7.1'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.7.1'
implementation group: 'org.postgresql', name: 'postgresql', version: '42.1.4'
testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.19.0'
testImplementation group: 'com.h2database', name: 'h2', version: '1.4.200'
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.20'
annotationProcessor group: 'org.projectlombok', name: 'lombok', version: '1.18.20'
testCompileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.20'
testAnnotationProcessor group: 'org.projectlombok', name: 'lombok', version: '1.18.20'
// https://mvnrepository.com/artifact/org.assertj/assertj-core
testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.20.1'
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.8.0-M1'
// https://mvnrepository.com/artifact/au.com.dius.pact.consumer/junit
implementation group: 'au.com.dius.pact.consumer', name: 'junit', version: '4.2.6'
}
test {
useJUnitPlatform()
}
mainClassName = 'loader.Starter'
jar {
manifest {
attributes(
'Main-Class': 'loader.Starter'
)
}
}