forked from MarquezProject/marquez
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
46 lines (39 loc) · 1.03 KB
/
build.gradle
File metadata and controls
46 lines (39 loc) · 1.03 KB
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
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
apply plugin: 'jacoco'
repositories {
mavenCentral()
}
if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
throw new GradleException("This build must be run with Java 8")
}
dependencies {
compile 'io.dropwizard.modules:dropwizard-flyway:1.3.0-4'
compile 'io.dropwizard:dropwizard-core:1.3.5'
compile 'io.dropwizard:dropwizard-jdbi3:1.3.5'
compile 'org.jdbi:jdbi3-postgres:3.3.0'
compile 'org.jdbi:jdbi3-sqlobject:3.3.0'
compile 'org.postgresql:postgresql:42.2.4'
testCompile 'io.dropwizard:dropwizard-testing:1.3.5'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.19.0'
}
shadowJar {
manifest {
attributes "Main-Class": "marquez.MarquezApplication"
}
}
jacoco {
toolVersion = "0.8.1"
reportsDir = file("$buildDir/reports/coverage")
}