-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
32 lines (27 loc) · 947 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
group 'org.metafacture'
version '0.3.0'
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.metafacture:metafacture-framework:5.0.0'
compile 'org.codehaus.jcsp:jcsp:1.1-rc5'
compile 'org.apache.solr:solr-solrj:7.4.0'
testImplementation 'junit:junit:4.12'
testImplementation 'org.hamcrest:hamcrest-library:1.3'
testImplementation 'org.metafacture:metafacture-xml:5.0.0'
testImplementation 'org.metafacture:metafacture-io:5.0.0'
testImplementation 'org.metafacture:metafacture-strings:5.0.0'
testImplementation 'org.mockito:mockito-core:2.5.5'
}
task fatJar(type: Jar) {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
archiveName = archivesBaseName.replace('-plugin', '') + '-' + version + '-plugin' + '.jar'
with jar
}