Skip to content

Commit

Permalink
💚 Fix GitHub actions (temporary workaround)
Browse files Browse the repository at this point in the history
Signed-off-by: palexdev <[email protected]>
  • Loading branch information
palexdev committed Jan 22, 2022
1 parent e69610e commit e5d8e31
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
12 changes: 11 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
buildscript {
repositories {
gradlePluginPortal()
}

dependencies {
classpath 'org.javamodularity:moduleplugin:1.8.10' // Workaround for broken javafxplugin
}
}

plugins {
id 'java-library'
id 'org.openjfx.javafxplugin' version '0.0.10' apply false
id 'org.openjfx.javafxplugin' version '0.0.11' apply false
}

group 'io.github.palexdev'
Expand Down
2 changes: 1 addition & 1 deletion demo/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'application'
id 'org.beryx.jlink' version '2.23.3'
id 'org.beryx.jlink' version '2.24.4'
}

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import javafx.scene.paint.Color;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import org.scenicview.ScenicView;

public class Demo extends Application {

Expand All @@ -44,7 +43,5 @@ public void start(Stage primaryStage) throws Exception {
primaryStage.setScene(scene);
primaryStage.setTitle("MaterialFX Demo");
primaryStage.show();

ScenicView.show(scene);
}
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit e5d8e31

Please sign in to comment.