-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
54 lines (41 loc) · 1.35 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
53
plugins {
id "io.codearte.nexus-staging" version "0.30.0"
}
apply plugin: 'java-library'
apply plugin: 'maven-publish'
apply plugin: 'signing'
apply plugin: 'io.codearte.nexus-staging'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
ext {
// Minimum required Testerra version
testerraCompileVersion = '2.4'
// Unit tests use the latest Testerra version
testerraTestVersion = '[2,3-SNAPSHOT)'
moduleVersion = '2-SNAPSHOT'
if (System.properties.containsKey('moduleVersion')) {
moduleVersion = System.getProperty('moduleVersion')
}
group 'io.testerra'
version moduleVersion
}
// Do not move this integration because `group` and `version` is needed for publishing
apply from: rootProject.file('publish.gradle')
repositories {
mavenCentral()
}
dependencies {
compileOnly 'io.testerra:driver-ui-desktop:' + testerraCompileVersion
implementation 'com.google.code.gson:gson:2.8.6'
// Rest client
implementation 'org.glassfish.jersey.core:jersey-client:2.34'
implementation 'org.glassfish.jersey.inject:jersey-hk2:2.34'
testImplementation 'io.testerra:driver-ui-desktop:' + testerraTestVersion
testImplementation 'io.testerra:report-ng:' + testerraTestVersion
}
test {
useTestNG()
options {
systemProperties(System.getProperties())
}
}