-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
64 lines (57 loc) · 1.57 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
53
54
55
56
57
58
59
60
61
62
63
64
apply plugin: 'application'
apply plugin: 'java'
sourceCompatibility = '1.6'
targetCompatibility = '1.6'
mainClassName = 'com.sciaps.Main'
version = '1.0'
jar {
manifest {
attributes 'Main-Class': 'com.sciaps.Main'
}
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
//create a single Jar with all dependencies
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'LIBZSharpen',
'Implementation-Version': version,
'Main-Class': 'com.sciaps.Main'
}
baseName = project.name
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
with jar
}
allprojects {
repositories {
mavenCentral()
maven {
url "http://maven.sciaps.local"
}
maven {
url "http://files.couchbase.com/maven2/"
}
}
}
dependencies {
compile 'com.dev-smart:devsmart-swing:0.1.3'
compile 'com.miglayout:miglayout-swing:5.0'
compile 'com.google.guava:guava:17.0'
compile 'com.google.inject:guice:2.0-no_aop'
compile 'com.google.code.gson:gson:2.2.4'
compile 'org.slf4j:slf4j-api:1.7.+'
compile 'org.slf4j:slf4j-simple:1.7.7'
compile 'org.jfree:jfreechart:1.0.17'
compile 'com.github.insubstantial:substance:7.2.1'
compile 'com.github.insubstantial:trident:7.2.1'
compile 'org.swinglabs.swingx:swingx-all:1.6.4'
compile project ('libraries/SwingCommon')
compile project ('libraries/Common')
}