title: Java jar file won't recognize external libraries added from gradle
body: <p>Yo folks basically I'm using  gradle in java project and can't export the libraries in jar file that I'm using. 
  Tried a few solutions but nothing worked.
  Do you know what I'm missing in the gradle file or I need to specify some things when I'm exporting. I'm using Eclipse</p>
  
  <p>Thanks, here is my gradle file </p>
  
  <pre><code>    enter code here
  plugins {
      // Apply the java-library plugin to add support for Java Library
      id 'java-library'
  
  }
  
  repositories {
      // Use jcenter for resolving your dependencies.
      // You can declare any Maven/Ivy/file repository here.
      jcenter()
      mavenCentral()
  }
  
  dependencies {
      // This dependency is exported to consumers, that is to say found on their compile classpath.
      api 'org.apache.commons:commons-math3:3.6.1'
  
      // This dependency is used internally, and not exposed to consumers on their own compile classpath.
      implementation 'com.google.guava:guava:27.0.1-jre'
  
      // Use JUnit test framework
      testImplementation 'junit:junit:4.12'
  
      implementation "redis.clients:jedis:3.0.1"
      implementation  'org.pixsee.java-fcm:Java-fcm:1.0.0'  
  
      implementation 'com.google.firebase:firebase-admin:6.10.0'
  
  
      compile "org.slf4j:slf4j-api:1.6.1"
  
       implementation 'org.slf4j:slf4j-simple:1.7.25'
       implementation "com.google.maps:google-maps-services:0.9.4"
       implementation 'io.vertx:vertx-core:3.8.1'
  
  }
  sourceCompatibility = 1.8
  version = '1.0'
  jar {
      manifest {
          attributes 'Implementation-Title': 'GeofenceServer',
                     'Implementation-Version': version
      }
  }
  apply plugin: "eclipse"
  </code></pre>