build.gradle 587 B

1234567891011121314151617181920212223242526272829303132333435
  1. buildscript {
  2. repositories {
  3. gradlePluginPortal()
  4. }
  5. dependencies {
  6. classpath 'org.javamodularity:moduleplugin:1.8.10' // Workaround for broken javafxplugin
  7. }
  8. }
  9. plugins {
  10. id 'java-library'
  11. id 'org.openjfx.javafxplugin' version '0.0.11' apply false
  12. }
  13. group 'io.github.palexdev'
  14. version '11.13.0'
  15. repositories {
  16. mavenCentral()
  17. }
  18. subprojects {
  19. apply plugin: 'org.openjfx.javafxplugin'
  20. javafx {
  21. version = "17.0.1"
  22. modules = ['javafx.controls', 'javafx.fxml', 'javafx.media', 'javafx.swing', 'javafx.web']
  23. }
  24. }