How to build Groovy JAR w/ Gradle and publish it to in-house repo
问题 I have a Groovy project and am trying to build it with Gradle. First I want a package task that creates a JAR by compiling it against its dependencies. Then I need to generate a Maven POM for that JAR and publish the JAR/POM to an in-house Artifactory repo. The build.gradle : apply plugin: "groovy" apply plugin: "maven-publish" repositories { maven { name "artifactory01" url "http://myartifactory/artifactory/libs-release" } } dependencies { compile "long list starts here" } // Should compile