No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. plugins {
  2. id 'application'
  3. id 'org.openjfx.javafxplugin' version '0.0.9'
  4. id 'com.github.johnrengelman.shadow' version '6.1.0'
  5. }
  6. group 'fr.insa.clavardator.client'
  7. version '0.0.1'
  8. repositories {
  9. mavenCentral()
  10. }
  11. javafx {
  12. version = "11.0.2"
  13. modules = ['javafx.controls', 'javafx.fxml']
  14. }
  15. dependencies {
  16. implementation project(':lib')
  17. implementation 'org.jetbrains:annotations:20.1.0'
  18. runtimeOnly "org.openjfx:javafx-graphics:$javafx.version:win"
  19. runtimeOnly "org.openjfx:javafx-graphics:$javafx.version:linux"
  20. runtimeOnly "org.openjfx:javafx-graphics:$javafx.version:mac"
  21. implementation 'org.xerial:sqlite-jdbc:3.32.3'
  22. implementation 'org.kordamp.ikonli:ikonli-javafx:12.0.0'
  23. implementation 'org.kordamp.ikonli:ikonli-fontawesome5-pack:12.0.0'
  24. implementation 'org.json:json:20201115'
  25. testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.0")
  26. testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.0")
  27. compile 'com.jfoenix:jfoenix:9.0.10'
  28. }
  29. test {
  30. useJUnitPlatform()
  31. }
  32. mainClassName = 'fr.insa.clavardator.client.Launcher'
  33. shadowJar {
  34. mergeServiceFiles()
  35. }
  36. run {
  37. jvmArgs = [
  38. "--add-exports=javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED",
  39. "--add-exports=javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED",
  40. "--add-exports=javafx.base/com.sun.javafx.binding=ALL-UNNAMED",
  41. "--add-exports=javafx.graphics/com.sun.javafx.stage=ALL-UNNAMED",
  42. "--add-exports=javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED"
  43. ]
  44. }