-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
42 lines (33 loc) · 891 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
plugins {
id 'java'
id 'de.undercouch.download' version '4.0.0'
}
group 'ca.fiercest'
version '1.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
configurations {
extraLibs
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile 'junit:junit:4.12'
//Package JNA with the jar.
extraLibs 'net.java.dev.jna:jna:4.4.0'
extraLibs 'net.java.dev.jna:jna-platform:4.5.1'
//Com4J
extraLibs 'org.jvnet.com4j:com4j:2.1'
//Lombok
compileOnly 'org.projectlombok:lombok:1.18.12'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
configurations.compile.extendsFrom(configurations.extraLibs)
}
jar {
//Include all resources in the Jar.
from("src/main/resources") {
include "**/*.*"
}
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {}
}