title: Why is lwjgl missing from the classpath when doing gradle run?
body: <p>Can anyone help me get gradle to correctly include lwjgl? It seems like the dependency is getting ignored because when I do a gradle run java can't find the library.</p>
  
  <p>I have the following maven file:</p>
  
  <pre><code>apply plugin:'groovy'
  apply plugin:'application'
  
  mainClassName = 'com.martz.zimplatformer.Game'
  
  repositories {
      mavenCentral()
  }
  
  dependencies {
      groovy group: 'org.codehaus.groovy', name: 'groovy', version: '1.8.6'
      compile group: 'org.lwjgl.lwjgl', name: 'lwjgl', version: '2.+'
  }
  </code></pre>
  
  <p>When I do a gradle run, I get the following stack trace:</p>
  
  <pre><code>Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1758)
      at java.lang.Runtime.loadLibrary0(Runtime.java:823)
      at java.lang.System.loadLibrary(System.java:1045)
      at org.lwjgl.Sys$1.run(Sys.java:73)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
      at org.lwjgl.Sys.loadLibrary(Sys.java:95)
      at org.lwjgl.Sys.&lt;clinit&gt;(Sys.java:112)
      at org.lwjgl.opengl.Display.&lt;clinit&gt;(Display.java:135)
  </code></pre>