-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (40 loc) · 1.23 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 {
// Apply the groovy plugin to also add support for Groovy (needed for Spock)
id 'groovy'
// Apply the application plugin to add support for building a CLI application in Java.
id 'application'
// maven publish
id 'maven-publish'
}
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/org.dbunit/dbunit
compile group: 'org.dbunit', name: 'dbunit', version: '2.7.0'
// Spock
compile "org.spockframework:spock-core:1.3-groovy-2.5"
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.2'
// Spock
compile "org.codehaus.groovy:groovy:3.0.7"
testCompile platform("org.spockframework:spock-bom:2.0-M4-groovy-3.0")
testCompile "org.spockframework:spock-core"
}
application {
// Define the main class for the application.
mainClass = 'org.skrymer.dbunit.extras.App'
}
test {
useJUnitPlatform()
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'org.skrymer'
artifactId = 'dbunit-extras'
version = '1.0'
from components.java
}
}
}