/
build.gradle
48 lines (34 loc) · 994 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
43
44
45
46
47
48
plugins {
id 'java'
}
group 'gov.ismonnet'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
compileJava {
sourceCompatibility = targetCompatibility = 1.8
}
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'io.netty:netty-all:4.1.41.Final'
// Dagger 2
compile 'com.google.dagger:dagger:2.24'
annotationProcessor 'com.google.dagger:dagger-compiler:2.24'
compileOnly 'com.episode6.hackit.auto.factory:auto-factory-annotations:1.0-beta5'
annotationProcessor 'com.google.auto.factory:auto-factory:1.0-beta6'
// Logging
compile 'org.apache.logging.log4j:log4j-api:2.12.1'
runtimeOnly 'org.apache.logging.log4j:log4j-core:2.12.1'
// Swing
compile 'org.swinglabs.swingx:swingx-core:1.6.5-1'
}
jar {
from configurations.runtimeClasspath.asFileTree.files.collect {
zipTree(it)
}
jar.manifest.attributes(
'Main-Class': 'Main'
)
}