forked from niwenhao/TeratermStation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
65 lines (52 loc) · 2.17 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
65
apply plugin: 'java'
apply plugin: 'eclipse'
sourceCompatibility = 1.8
version = '2.3.0'
def defaultEncoding = 'UTF-8'
tasks.withType(AbstractCompile) each { it.options.encoding = defaultEncoding }
compileJava {
options.encoding = defaultEncoding
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'commons-io', name: 'commons-io', version: '2.4'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'
compile group: 'commons-logging', name: 'commons-logging', version: '1.2'
compile group: 'log4j', name: 'log4j', version: '1.2.17'
compile group: 'net.java.dev.jna', name: 'jna', version: '4.2.0'
compile group: 'net.java.dev.jna', name: 'jna-platform', version: '4.2.0'
compile group: 'org.yaml', name: 'snakeyaml', version: '1.16'
compile group: 'org.eclipse.core', name: 'commands', version: '3.3.0-I20070605-0010', transitive: false
compile group: 'org.eclipse.equinox', name: 'common', version: '3.3.0-v20070426', transitive: false
compile group: 'org.eclipse.ui', name: 'ide', version: '3.3.0-I20070620', transitive: false
compile group: 'org.eclipse.ui', name: 'workbench', version: '3.3.0-I20070608-1100', transitive: false
compile group: 'org.eclipse', name: 'jface', version: '3.3.0-I20070606-0010', transitive: false
compile group: 'org.eclipse.swt', name: 'org.eclipse.swt.win32.win32.x86_64', version: '4.3'
//compile group: 'org.eclipse.swt', name: 'org.eclipse.swt.win32.win32.x86', version: '4.3'
}
test {
systemProperties 'property': 'value'
}
task copyToLib(type: Copy) {
into "$buildDir/output/lib"
from configurations.runtime
}
jar {
baseName = 'TeratermStation'
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart',
'Implementation-Version': version
attributes 'Main-Class': 'jp.co.tabocom.teratermstation.Main'
}
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}