forked from neo4j/cypher-shell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
89 lines (77 loc) · 2.25 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()
mavenCentral()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.2'
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.4.0'
}
}
allprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.incremental = true
options.encoding = 'UTF-8'
}
tasks.withType(Test) {
systemProperty 'file.encoding', 'UTF-8'
}
group = 'org.neo4j.shell'
version = '1.0.0-SNAPSHOT'
repositories {
mavenLocal()
jcenter()
maven{
// 私服地址
url = 'http://10.0.82.220:8081/repository/maven-snapshots/'
}
// maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
}
}
subprojects {
apply plugin: 'java'
apply plugin: "maven"
apply plugin: 'distribution'
apply plugin: 'maven-publish'
apply plugin: 'com.github.johnrengelman.shadow'
apply from: "$rootProject.projectDir/gradle/integration-test.gradle"
apply from: "$rootProject.projectDir/cypher-shell/build-upload.gradle"
apply plugin: 'jacoco'
apply plugin: 'info.solidsoft.pitest'
jacocoTestReport {
reports {
html.enabled true
xml.enabled true
csv.enabled false
}
}
pitest {
threads = 4
timestampedReports = false
enableDefaultIncrementalAnalysis = true
outputFormats = ['XML', 'HTML']
}
}
ext {
// Only match tags starting with a number to avoid neo4j-xxx changelog tags
gitVersion = 'git describe --tags --match [0-9]*'.execute([], project.rootDir).text.trim()
if (project.hasProperty('buildVersion')) {
buildVersion = project.buildVersion
} else {
buildVersion = gitVersion
}
argparse4jVersion = '0.7.0'
junitVersion = '4.12'
//evaluatorVersion = '3.5.4'
evaluatorVersion = '3.5.6-BLOB-SNAPSHOT'
//neo4jJavaDriverVersion = '2.0.0-alpha03'
neo4jJavaDriverVersion = '2.0.1-graiph-SNAPSHOT'
findbugsVersion = '3.0.0'
jansiVersion = '1.13'
jlineVersion = '2.14.6'
mockitoVersion = '1.9.5'
systemRulesVersion = '1.19.0'
}