You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The documentation for the depclean-gradle-plugin doesn't quite match the reality.
The README says:
Then run the following Maven command to build the application and install the plugin locally:
./gradlew install
First off, running Gradle is not a Maven command :) Secondly, there is no install task. See ./gradlew tasks for a list of tasks available. I noticed two that sounded good, publishPluginMavenPublicationToMavenLocal and publishToMavenLocal so I tried both (better to install one thing too many than one thing too little I figured).
However, then I tried following instructions for using it but I was not able to find the plugin
Plugin [id: 'se.kth.depclean', version: '0.1-SNAPSHOT'] was not found in any of the following sources:
Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
Plugin Repositories (could not resolve plugin artifact 'se.kth.castor.depclean:se.kth.castor.depclean.gradle.plugin:1.0-SNAPSHOT')
Searched in the following repositories:
Gradle Central Plugin Repository
I'm not sure why it didn't list mavenLocal there as I do have mavenLocal() as one of my repositories within the buildscript.
Then I noticed that in my .m2/repository folder was se.kth.**castor**.depclean-gradle-plugin with version **1.0**-SNAPSHOT (all **-emphasis to emphasize the differences from what the instructions say). I tried various combination of these but still no luck.
The text was updated successfully, but these errors were encountered:
Describe the bug
The documentation for the depclean-gradle-plugin doesn't quite match the reality.
The README says:
First off, running Gradle is not a Maven command :) Secondly, there is no
install
task. See./gradlew tasks
for a list of tasks available. I noticed two that sounded good,publishPluginMavenPublicationToMavenLocal
andpublishToMavenLocal
so I tried both (better to install one thing too many than one thing too little I figured).However, then I tried following instructions for using it but I was not able to find the plugin
I'm not sure why it didn't list
mavenLocal
there as I do havemavenLocal()
as one of my repositories within thebuildscript
.Then I noticed that in my .m2/repository folder was
se.kth.**castor**.depclean-gradle-plugin
with version**1.0**-SNAPSHOT
(all**
-emphasis to emphasize the differences from what the instructions say). I tried various combination of these but still no luck.The text was updated successfully, but these errors were encountered: