This repository has been archived by the owner on Mar 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (60 loc) · 2.12 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
buildscript {
repositories {
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath group: 'com.netflix.nebula', name: 'nebula-dependency-recommender', version: '3.6.3'
classpath group: 'org.starchartlabs.flare', name: 'flare-operations-plugins', version: '0.1.0'
classpath group: 'org.starchartlabs.flare', name: 'flare-publishing-plugins', version: '0.2.0'
classpath group: 'com.moowork.gradle', name: 'gradle-node-plugin', version: '1.2.0'
}
}
apply plugin: 'org.starchartlabs.flare.merge-coverage-reports'
allprojects{
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'jacoco'
apply plugin: 'nebula.dependency-recommender'
apply plugin: 'org.starchartlabs.flare.dependency-insight'
dependencyRecommendations {
propertiesFile file: file("${rootDir}/dependencies.properties")
}
group = 'org.starchartlabs.tempest'
sourceCompatibility = "${javaVersion}"
//Always download sources, to allow debugging, and use Eclipse containers for greater portability
eclipse {
classpath {
downloadSources=true
containers = [ "org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-${sourceCompatibility}".toString() ]
}
}
repositories {
mavenCentral()
}
}
subprojects{
apply plugin: 'maven'
apply plugin: 'org.starchartlabs.flare.increase-test-logging'
//All projects should provide source code and javadoc, and upload these with any released artifacts
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
//Setup default test behavior, including failure logging
test {
useTestNG() {
useDefaultListeners = true
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = "${gradleVersion}"
}