title: How to Build Library Jar with Gradle
body: <p>I followed this gradle tutorial:</p>
  
  <p><a href="https://guides.gradle.org/building-java-libraries/" rel="nofollow noreferrer">https://guides.gradle.org/building-java-libraries/</a></p>
  
  <p>with gradle 4.9 and for some reason in projects that reference the build jar can't see the Library class that should be created and be accessible once the project is built. I've changed nothing about the build settings and what not. Only run gradlew build from the command line to build the project. </p>
  
  <p>I've tried finding the package path in my project, I've tried using eclipse to auto discover the import, it never finds it. (Note that the default method that the java-library type creates I've changed to <em>static</em> for my tests)</p>
  
  <p>Am I missing something, I'm very new to Gradle and I'm trying to expose myself to it. But I'm familiar with just exporting a straight jar from the export window in Eclipse. So I can't quite determine what I'm doing wrong. 
  Project Structure:</p>
  
  <p><a href="https://i.stack.imgur.com/dbzEx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dbzEx.png" alt="Gradle project"></a></p>
  
  <p>build.gradle file:</p>
  
  <p><a href="https://i.stack.imgur.com/azoSC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/azoSC.png" alt="enter image description here"></a></p>