Gradle custom plugin jar with dependencies
问题 I'm trying to build a jar for a custom gradle plugin to be used by other gradle projects. I'm using java to write the plugin. I'm having a problem including dependencies in my jar. If I build the jar using the below build.gradle plugins { id 'groovy' } repositories{ mavenCentral() } dependencies { compile gradleApi() compile localGroovy() compile 'com.google.guava:guava:27.0-jre' testCompile 'junit:junit:4.12' //compile 'org.apache.commons:commons-lang3:3.8.1' } group = 'com.mine' version =