-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
83 lines (69 loc) · 2.05 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
buildscript {
repositories {
mavenCentral()
// mavenLocal()
// jcenter()
maven {
url "http://plugins.gradle.org/m2/"
}
maven {
url "http://jcenter.bintray.com"
}
}
dependencies {
// classpath 'com.kncept.junit5.reporter:junit-reporter:1.0.0'
// classpath 'org.junit.platform:junit-platform-gradle-plugin:1.1.0-M1'
classpath "com.github.ben-manes:gradle-versions-plugin:0.17.0"
classpath "com.github.jengelman.gradle.plugins:shadow:2.0.1"
//classpath "com.gradle:build-scan-plugin:1.10.2"
}
}
/*
buildScan {
licenseAgreementUrl = 'http://gradle.com/terms-of-service'
licenseAgree = 'yes'
}
*/
allprojects {
apply plugin: "com.github.ben-manes.versions"
group = 'narchy'
version = '1.0'
}
subprojects {
apply plugin: 'idea'
apply plugin: 'java'
// apply plugin: 'org.junit.platform.gradle.plugin'
repositories {
mavenCentral()
// mavenLocal()
// jcenter()
maven { url "http://repo.maven.apache.org/maven2" }
maven { url "http://jcenter.bintray.com" }
// maven { url "http://oss.sonatype.org/content/repositories/snapshots" }
}
sourceCompatibility = 1.10
targetCompatibility = 1.10
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.incremental = true // one flag, and things will get MUCH faster
}
test {
reports {
junitXml.enabled = false
html.enabled = true
}
}
// junitHtmlReport {
// //https://github.com/kncept/junit-reporter
// // If true, then instead of producing multiple reports per test folder (test run),
// // aggregate them all together into the test-reports root directory.
// //
// // Also use this if all your test results end up directly in the test-results directory
// aggregated = true
//
// //RAG status css overrides
// cssRed = 'red'
// cssAmber = 'orange'
// cssGreen = 'green'
// }
}