title: Import SWT as a Gradle dependency
body: <p>I am looking at how to import the SWT UI library into my Java project.
  I found the pom file for SWT on maven at: <a href="https://repo1.maven.org/maven2/org/eclipse/swt/3.3.0-v3346/swt-3.3.0-v3346.pom" rel="nofollow">https://repo1.maven.org/maven2/org/eclipse/swt/3.3.0-v3346/swt-3.3.0-v3346.pom</a></p>
  
  <p>From the file I added the following line to my <code>build.gradle</code> file</p>
  
  <pre><code>compile "org.eclipse:swt:3.3.0"
  </code></pre>
  
  <p>however when I added it to my <code>build.gradle</code> I received the following error:</p>
  
  <pre><code>Project 'L-CAD Main' is missing required library: '/home/ashley/unresolved dependency - org.eclipse swt 3.3.0'
  </code></pre>
  
  <p>If I understand this right this means it can't find the dependency, so I don't know what I'm doing wrong.</p>
  
  <p>My IDE is Eclipse.</p>