forked from ome/omero-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (35 loc) · 1 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
plugins {
id "java-library"
id "org.openmicroscopy.project" version "5.5.4"
}
group = "org.openmicroscopy"
version = "5.6.7-SNAPSHOT"
repositories {
mavenLocal()
mavenCentral()
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies {
testImplementation("org.testng:testng:7.5")
testImplementation("jmock:jmock:1.+")
testImplementation("com.jamonapi:jamon:2.81")
api("org.openmicroscopy:omero-model:5.6.14")
implementation("com.codahale.metrics:metrics-graphite:3.0.2")
implementation("com.codahale.metrics:metrics-jvm:3.0.2")
implementation("com.codahale.metrics:metrics-logback:3.0.2")
}
test {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
}
// enable TestNG support (default is JUnit)
useTestNG() {
suites "src/test/resources/unit.testng.xml"
}
dependsOn cleanTest
}
// Add publish functionality
apply from: "publish.gradle"