-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
35 lines (28 loc) · 892 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
group 'org.metafacture'
version '0.4.1'
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
}
dependencies {
compile 'net.sf.saxon:Saxon-HE:9.8.0-10'
implementation 'org.metafacture:metafacture-framework:5.0.0'
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.5.5'
testImplementation 'org.metafacture:metafacture-io:5.0.0'
}
task fatJar(type: Jar) {
dependencies {
compile 'net.sf.saxon:Saxon-HE:9.8.0-10'
}
excludes = ['META-INF/SAXONICA.*', 'META-INF/maven/**', 'META-INF/services/**']
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
archiveName = archivesBaseName.replace('-plugin', '') + '-' + version + '-plugin' + '.jar'
with jar
}