Skip to content

Commit

Permalink
build: Fix missing task dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Feb 23, 2024
1 parent fe0be39 commit b69dc41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ buildscript {
// (in this case, javafx-plugin is compiled against 11, while we want the build to work in 8)

repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
gradlePluginPortal()
}
dependencies {
classpath 'org.openjfx:javafx-plugin:0.0.9'
Expand Down Expand Up @@ -142,6 +140,8 @@ if (JavaVersion.current().java11Compatible) {
// Now the task needs to be run manually.
compileJava.dependsOn = compileJava.dependsOn - 'generateScenarioSource'

sourcesJar.dependsOn ':generateScenarioSource'

generateScenarioSource.enabled = false
tasks.register('genModel', JavaExec) {
generateScenarioSource.copyTo(it)
Expand Down
Binary file modified test/doc/images/studyRightObjects.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b69dc41

Please sign in to comment.