-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
59 lines (49 loc) · 1.78 KB
/
build.gradle
File metadata and controls
59 lines (49 loc) · 1.78 KB
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
plugins {
// ide
id 'java'
id 'idea'
id 'eclipse'
// publishing
id 'com.jfrog.bintray' version '1.8.0' apply false
// code style
id 'com.diffplug.gradle.spotless' version '3.8.0'
// license
id 'com.github.hierynomus.license' version '0.14.0'
id 'org.unbroken-dome.test-sets' version '1.4.2'
id 'com.github.johnrengelman.shadow' version '2.0.4'
}
version = '3.0.0'
description = 'Grid adaptors for Xenon.'
ext {
xenonVersion = '3.0.0'
}
apply from: 'gradle/common.gradle'
apply from: 'gradle/adaptor.gradle'
dependencies {
// Adaptor dependencies.
compile group: 'nl.esciencecenter.xenon', name: 'xenon', version: xenonVersion
// JGlobus (for gridftp)
compile group: 'org.jglobus', name: 'gridftp', version: '2.1.0'
// Runtime dependencies
shadow group: 'ch.qos.logback', name: 'logback-core', version: '1.0.11'
shadow group: 'ch.qos.logback', name: 'logback-classic', version: '1.0.11'
// liveTestCompile project(':test-utils')
// liveTestCompile group: 'junit', name: 'junit', version: '4.12'
}
ext.shadowPrefix = project.name.replaceAll('-', '_') + '.shadow.'
shadowJar {
mergeServiceFiles()
classifier = null
// relocate 'org.jclouds', shadowPrefix + 'org.jclouds'
// relocate 'com.google', shadowPrefix + 'com.google'
// relocate 'org.objectweb.asm', shadowPrefix + 'org.objectweb.asm'
// relocate 'com.jamesmurty', shadowPrefix + 'com.jamesmurty'
// relocate 'net.iharder', shadowPrefix + 'net.iharder'
// relocate 'org.aopalliance', shadowPrefix + 'org.aopalliance'
// relocate 'net.sf.cglib', shadowPrefix + 'net.sf.cglib'
// relocate 'javax', shadowPrefix + 'javax'
dependencies {
exclude(dependency('nl.esciencecenter.xenon:xenon:.*'))
exclude(dependency('org.slf4j::.*'))
}
}