-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
89 lines (71 loc) · 2.22 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0'
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.1.9'
}
}
plugins {
id 'nebula.optional-base' version '3.1.0'
id 'net.researchgate.release' version '2.4.0'
id "com.jfrog.bintray" version "1.7.1"
}
ext {
projectUrl = 'https://github.com/nginate/zookeeper-client'
vcsUrl = 'https://github.com/nginate/zookeeper-client.git'
slf4jVersion = '1.7.21'
nettyVersion = '4.1.3.Final'
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'nebula.optional-base'
apply plugin: 'com.github.ben-manes.versions'
apply plugin: "info.solidsoft.pitest"
apply from: 'gradle/distribution.gradle'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
jcenter()
}
dependencies {
compile "io.netty:netty-common:$nettyVersion"
compile "io.netty:netty-handler:$nettyVersion"
// Logging
compile "org.slf4j:slf4j-api:$slf4jVersion"
// Utils
compile 'com.google.guava:guava:19.0'
compile 'org.apache.commons:commons-lang3:3.4'
compile 'commons-beanutils:commons-beanutils:1.9.2'
compile "com.github.nginate:commons-lang:1.0.0"
// Annotation processors
compile 'org.projectlombok:lombok:1.16.10', optional
compile 'com.google.code.findbugs:jsr305:3.0.1', optional
testCompile 'junit:junit:4.12'
testCompile 'org.testng:testng:6.9.12'
testCompile 'org.assertj:assertj-core:3.5.2'
testCompile "com.github.nginate:commons-testing:1.0.0"
testCompile "com.github.nginate:commons-docker:1.0.0"
testRuntime "org.slf4j:log4j-over-slf4j:$slf4jVersion"
testRuntime "org.slf4j:jcl-over-slf4j:$slf4jVersion"
testRuntime "org.slf4j:jul-to-slf4j:$slf4jVersion"
testRuntime 'ch.qos.logback:logback-classic:1.1.7'
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
test {
testLogging {
exceptionFormat = 'full'
}
}
pitest {
excludedGroups = ["integration"]
}
task wrapper(type: Wrapper) {
gradleVersion = '3.0'
}
build.dependsOn install