-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (33 loc) · 849 Bytes
/
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
apply plugin: 'java'
group 'de.hhu.bsinfo'
version '1.0'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
mavenCentral()
maven() {
url "https://dl.bintray.com/hhu-bsinfo/dxram"
}
maven {
url 'https://oss.jfrog.org/artifactory/oss-snapshot-local'
}
}
configurations {
providedImplementation
}
compileJava {
sourceSets.main.compileClasspath += configurations.providedImplementation
}
dependencies {
providedImplementation 'de.hhu.bsinfo:dxram:0.7.0' + (Boolean.valueOf(System.getProperty("release")) ? "" : "-SNAPSHOT")
testImplementation 'junit:junit:4.12'
}
jar {
archiveName 'dxa-pageRank.jar'
from {
configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
task wrapper(type: Wrapper) {
gradleVersion = "4.10"
}