build.gradle 514 B

123456789101112131415
  1. if (!hasProperty('mainClass')) {
  2. ext.mainClass = ''
  3. }
  4. dependencies {
  5. compile project(':jme3-core')
  6. compile project(':jme3-desktop')
  7. compile 'org.lwjgl.lwjgl:lwjgl:2.9.3'
  8. /*
  9. * Upgrades the default jinput-2.0.5 to jinput-2.0.9 to fix a bug with gamepads on Linux.
  10. * See https://hub.jmonkeyengine.org/t/linux-gamepad-input-on-jme3-lwjgl-splits-input-between-two-logical-gamepads
  11. */
  12. compile 'net.java.jinput:jinput:2.0.9'
  13. compile 'net.java.jinput:jinput:2.0.9:natives-all'
  14. }