Dependencies not showing up in jar with Gradle?
问题 I am using this build.grade. When I run gradlew build , it generates a jar file only with the source, not the stone.jar in the libs folder. How should I be doing this? apply plugin: 'java' apply plugin: 'eclipse' // Source sets in the project, specify source directories sourceSets { main { java.srcDir("${projectDir}/src/") resources.srcDir("${projectDir}/src/") } } // Dependencies for the project are stored in the libs directory dependencies { compile fileTree(dir: 'libs', include: ['*.jar'])