-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.gradle
54 lines (44 loc) · 1.09 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
description = "Framework for Railway Oriented Programming"
configurations.create('${project.name}')
buildscript {
apply from: "gradle/repos.gradle"
repositories repos
dependencies {
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:${buildinfoVersion}",
"org.junit.platform:junit-platform-gradle-plugin:${junitPlatformVersion}",
"org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:${sonarqubeVersion}"
}
}
repositories repos
apply plugin: 'maven'
apply plugin: 'project-report'
apply plugin: 'org.sonarqube'
[
"java",
"eclipse",
"tests",
"jacoco",
"jdepend",
"wrapper"
].each {
apply from: "gradle/${it}.gradle"
}
dependencies {
compile 'xml-apis:xml-apis:1.4.01',
'com.google.guava:guava:19.0'
}
configurations.all {
resolutionStrategy {
force 'xml-apis:xml-apis:1.4.01'
}
}
jar {
from sourceSets.main.allJava
}
task testJar(type: Jar, dependsOn: testClasses) {
classifier = "tests"
from sourceSets.test.output + sourceSets.test.allSource
}
artifacts {
archives testJar
}