Skip to content

Instantly share code, notes, and snippets.

@lfbayer
Created May 22, 2017 03:49
Show Gist options
  • Save lfbayer/db226857a9c34dd0e18357401e79baa0 to your computer and use it in GitHub Desktop.
Save lfbayer/db226857a9c34dd0e18357401e79baa0 to your computer and use it in GitHub Desktop.
gradle install didn't publish to the local .m2 folder

Kill the Gradle Daemon

After many hours of toil and banging my head against the desk trying to figure out why "gradle install" didn't publish my jar to the .m2 folder, it turns out the killing the gradle daemon solved my problem.

ps -ef | grep gradle should show you the gradle daemon process.

Maybe this gist file will have enough terms in it to cause it to be found in your own google search. Here are a few of the things that I used to search google that unfortunately didn't have any search results..

publishMavenJavaPublicationToMavenLocal "Task has not declared any outputs"
gradle publish local snapshot to m2 folder
"gradle install" "Task has not declared any outputs."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment