forked from jovial/FormicaProfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (41 loc) · 1.23 KB
/
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
44
45
46
47
48
49
50
51
52
version '1.0-SNAPSHOT'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
}
}
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'com.github.johnrengelman.shadow'
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
repositories {
mavenCentral()
jcenter()
}
task runDummyFec(type:JavaExec) {
// this will hang on building as it never returns
classpath = sourceSets.main.runtimeClasspath
main = 'org.cowboycoders.ant.profiles.simulators.DummyFecTurbo'
}
compileJava {
options.encoding = 'UTF-8'
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
compileTestJava {
options.encoding = 'UTF-8'
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
dependencies {
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.8'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.8'
compile fileTree(dir: 'libs', include: '*.jar')
testCompile "org.mockito:mockito-core:2.+"
testCompile group: 'junit', name: 'junit', version: '4.11'
}
jar {
exclude('javax.usb.properties')
}