forked from FXMisc/RichTextFX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (29 loc) · 924 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
subprojects {
apply plugin: 'java'
apply plugin: 'eclipse'
version = '1.0.0-SNAPSHOT'
ext.specificationVersion = '0.8.0'
repositories {
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
// allow setting source/target compatibility from command line
// for checking Java 9+ compatibility in Travis CI
def checkSourceCompatibility = System.properties["checkSourceCompatibility"]
if (checkSourceCompatibility != null) {
sourceCompatibility = checkSourceCompatibility
targetCompatibility = checkSourceCompatibility
}
compileJava.options.deprecation = true
if (it.name.equals("richtextfx")) {
task("getProjectVersion") {
doLast {
println version
}
}
}
}