Skip to content

Commit

Permalink
Included JavaFX compileOnly dependency properly
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphiMC committed Jan 7, 2024
1 parent d32a6bd commit 8b93f0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ repositories {

dependencies {
compileOnly "org.jetbrains:annotations:24.1.0"
compileOnly "org.openjfx:javafx:22-ea+16"
["base", "graphics", "web", "swing"].each {
compileOnly "org.openjfx:javafx-$it:11:win" // Hardcoding the platform is not a problem since this is a compileOnly dependency
}

api "org.apache.httpcomponents:httpclient:4.5.14"
api "com.google.code.gson:gson:2.10.1"
Expand Down

0 comments on commit 8b93f0f

Please sign in to comment.