File tree Expand file tree Collapse file tree 6 files changed +32
-15
lines changed
biz.ganttproject.app.libs Expand file tree Collapse file tree 6 files changed +32
-15
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,17 @@ buildscript {
55 url " https://plugins.gradle.org/m2/"
66 }
77 }
8- dependencies {
9- classpath ' org.openjfx:javafx-plugin:0.1.0'
10- }
8+ // dependencies {
9+ // classpath 'org.openjfx:javafx-plugin:0.1.0'
10+ // }
1111}
1212
13- apply plugin : ' org.openjfx.javafxplugin'
14-
13+ // apply plugin: 'org.openjfx.javafxplugin'
14+ // javafx {
15+ // version = "21"
16+ // modules = [ 'javafx.controls', 'javafx.fxml', 'javafx.swing' ]
17+ // }
18+ //
1519ext {
1620 libDir = ' lib'
1721}
@@ -68,10 +72,10 @@ dependencies {
6872 exported fileTree(dir : project. ext. libDir, include : [' *.jar' ])
6973}
7074
71- javafx {
72- version = " 17"
73- modules = [ " javafx.controls" ," javafx.swing" ," javafx.web" ]
74- }
75+ // javafx {
76+ // version = "17"
77+ // modules = [ "javafx.controls","javafx.swing","javafx.web" ]
78+ // }
7579
7680def pluginDistDir = new File (rootProject. pluginsDir, project. name)
7781task copyPlugin (dependsOn : assemble) {
@@ -87,9 +91,6 @@ task copyPlugin(dependsOn: assemble) {
8791 into(new File (pluginDistDir, " lib" ))
8892 from(configurations. exported) {
8993 include " *.jar"
90- if (! project. hasProperty(" withJavafx" )) {
91- exclude " javafx*.jar"
92- }
9394 exclude " slf4j*.jar"
9495 exclude " logback*.jar"
9596 }
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ def installLibs(jar, project) {
101101 from(jar. outputs. getFiles(). getFiles(). flatten())
102102 from(project. configurations. compileClasspath. minus(project. configurations. providedCompile. resolve())) {
103103 include " *.jar"
104+ exclude " javafx*.jar"
104105 }
105106 rename { filename -> filename + " .lib" }
106107 }
Original file line number Diff line number Diff line change 10102025-01-29 3316 fixed issue 2569, added group to MSI silent
11112025-07-04 3390 Test build of GanttProject 3.4 Beta I ....
12122026-01-16 3390 Test build of GanttProject 3.4 Beta I ....
13- 2026-01-17 3390 Test build of GanttProject 3.4 Beta I .
13+ 2026-01-17 3390 Test build of GanttProject 3.4 Beta I ..
1414--
Original file line number Diff line number Diff line change 5656 homepage =" https://www.ganttproject.biz/"
5757 section =" editors"
5858 priority =" optional"
59- depends =" java17-runtime | bellsoft-java17-runtime | zulu17-jre | openjdk-17-jre | openjdk-21-jre | bellsoft- java21-runtime | zulu21-jre "
59+ depends =" java21-runtime"
6060 conflicts =" ganttproject-praha"
6161 replaces =" ganttproject-praha"
6262 postrm =" ${ distDebWork } /postrm"
@@ -82,6 +82,7 @@ GanttProject is distributed under GPLv3.
8282 <include name =" *.jar" />
8383 <include name =" *.gan" />
8484 <include name =" logging.properties" />
85+ <include name =" logback.xml" />
8586 <include name =" lib/**" />
8687 </tarfileset >
8788 <tarfileset dir =" ${ distBin } " filemode =" 755" prefix =" usr/share/${ package.name } " >
Original file line number Diff line number Diff line change @@ -189,7 +189,9 @@ if [ ! -f "$GP_HOME/eclipsito.jar" ]; then
189189 log " Can't find the required Eclipsito library at $GP_HOME /eclipsito.jar"
190190 exit 1
191191fi
192- CLASSPATH=" $CLASSPATH :$GP_HOME /eclipsito.jar:$GP_HOME /lib/slf4j-api-2.0.17.jar:$GP_HOME /lib/logback-core-1.5.18.jar:$GP_HOME /lib/logback-classic-1.5.18.jar:$GP_HOME "
192+ CLASSPATH=" $CLASSPATH :$GP_HOME /eclipsito.jar:$GP_HOME " ;
193+ for f in " $GP_HOME " /lib/* ; do [ -f " $f " ] && CLASSPATH=" $CLASSPATH :$f " ; done
194+
193195export CLASSPATH
194196BOOT_CLASS=com.bardsoftware.eclipsito.Launch
195197
Original file line number Diff line number Diff line change @@ -140,6 +140,18 @@ task copyPlugin(dependsOn: jar) {
140140 include " logback.xml"
141141 }
142142 }
143+ def bootstrapLibDir = new File (rootProject. distBinDir, " lib" )
144+ copy {
145+ into(bootstrapLibDir)
146+ from(project. configurations. compileClasspath. minus(project. configurations. providedCompile. resolve())) {
147+ if (project. hasProperty(" withJavafx" )) {
148+ include " javafx*.jar"
149+ } else {
150+ exclude " *"
151+ }
152+ }
153+ }
154+
143155 copy {
144156 into(pluginDistDir)
145157 from(fileTree(" ." )) {
You can’t perform that action at this time.
0 commit comments