-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
53 lines (44 loc) · 1.18 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
/*
//file:noinspection GroovyAssignabilityCheck
//file:noinspection GrUnresolvedAccess
*/
import org.apache.tools.ant.filters.ReplaceTokens
import java.text.SimpleDateFormat
plugins {
id 'groovy'
id 'java-library'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.10'
id 'idea'
}
javafx {
version = '11.0.2'
modules = ['javafx.controls', 'javafx.fxml', 'javafx.web']
}
application {
mainClassName = 'ru.easydata.webfx.app.WebFxApplication'
}
group 'ru.easydata'
version "$webfx_version"
repositories {
mavenCentral()
maven {
url 'http://easydata.ru:8081/repository/maven-snapshots/'
allowInsecureProtocol = true
}
maven {
url 'http://easydata.ru:8081/repository/maven-releases/'
allowInsecureProtocol = true
}
}
dependencies {
api("net.sourceforge.getl:getl:$getl_version")
implementation fileTree(dir: 'libs')
testImplementation 'junit:junit:4.13.2'
}
processResources {
println 'Generate version resources ...'
filesMatching('webfx.properties') {
filter(ReplaceTokens, tokens: [version: version.toString(), builddate: new SimpleDateFormat('yyyy-MM-dd').format(new Date())])
}
}