forked from FXMisc/Flowless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
60 lines (46 loc) · 1.24 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
version = '0.6-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'osgi'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.7.1'
}
}
repositories {
mavenCentral()
jcenter()
}
apply from: 'gradle/publish.gradle'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
group = 'org.fxmisc.flowless'
project.archivesBaseName = 'flowless'
dependencies {
compile 'org.reactfx:reactfx:2.0-M5'
testCompile "org.testfx:testfx-core:[4.0,4.1)"
testCompile "org.testfx:testfx-junit:[4.0,4.1)"
}
javadoc {
// ignore missing Javadoc comments or tags
options.addStringOption('Xdoclint:all,-missing', '-quiet')
// support for JavaFX properties
options.addBooleanOption('javafx', true);
// resolve links to Java and JavaFX Javadocs
options.links = [
'http://docs.oracle.com/javase/8/docs/api/',
'http://docs.oracle.com/javase/8/javafx/api/'
]
}
task fatJar(type: Jar, dependsOn: classes) {
appendix = 'fat'
from sourceSets.main.output
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
assemble.dependsOn fatJar
task getVersion << {
println version
}