forked from jku-isse/ecco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
82 lines (66 loc) · 1.86 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.14'
//id 'com.palantir.docker' version '0.30.0'
}
application {
mainClassName = "at.jku.isse.ecco.gui.EccoGui"
applicationDefaultJvmArgs = ["-Xss1024m", "-Xmx8g"]
}
javafx {
version = "16"
modules = [ 'javafx.controls' ]
}
dependencies {
implementation 'org.graphstream:gs-core:2.0'
implementation 'org.graphstream:gs-algo:2.0'
implementation 'org.graphstream:gs-ui-javafx:2.0'
implementation project(':ecco-service')
implementation files('../adapter/java-patched/at.jku.cdl.ecco.adapter.java-patched.jar')
runtimeOnly project(':ecco-adapter-file')
runtimeOnly project(':ecco-adapter-text')
runtimeOnly project(':ecco-adapter-image')
runtimeOnly project(':ecco-adapter-golang')
testRuntimeOnly project(':ecco-adapter-golang')
testRuntimeOnly project(':ecco-adapter-file')
testRuntimeOnly project(':ecco-adapter-text')
testRuntimeOnly project(':ecco-adapter-image')
testRuntimeOnly project(':ecco-adapter-challenge')
testRuntimeOnly project(':ecco-adapter-cpp')
testRuntimeOnly project(':ecco-adapter-runtime')
}
ospackage {
summary 'GUI (Graphical User Interface) for ECCO.'
packageDescription 'This package provides a GUI (Graphical User Interface) for ECCO.'
requires('ecco-base', version, EQUAL)
requires('ecco-service', version, EQUAL)
requires('javapackages-tools')
into('/usr/bin/') {
from(project.file('ecco-gui')) {
addParentDirs false
into ''
}
}
}
linuxZip {
into(archiveFileName.get() - ('.' + archiveExtension)) {
from 'ecco-gui'
}
}
sourcesZip {
include 'ecco-gui'
include 'ecco-gui.bat'
}
windowsZip {
into(archiveFileName.get() - ('.' + archiveExtension)) {
from 'ecco-gui.bat'
}
}
task copyScripts(type: Copy) {
from 'ecco-gui', 'ecco-gui.bat'
into project.file('build/bundle/')
}
repositories {
mavenCentral()
}
bundle.dependsOn += copyScripts