Gradle Release initScmPlugin Problem


(James Fox) #1

I am trying to create a Gradle release and I am getting the following error:

Execution failed for task ‘:initScmPlugin’. > Could not determine root SVN url.

I can’t seem to find any information about how to resolve this. Has anyone had a similar issue?


(Benjamin Muschko) #2

Could you please provide more information? Where is this task coming from? Are you using a third-party plugin? You might want to run the task with ‘-s’ to get to the bottom of the problem.


(James Fox) #3

I am not sure where the task in coming from. It is not defined in my build.gradle and I am not running any third party plugins. I have run with -s but the stacktrace is not providing any information that is helpful. It is all Gradle class exceptions with: "org.gradle.api.tasks.TaskExecutionException: Execution failed for task ‘:initScmPlugin’ " as the root cause.


(Benjamin Muschko) #4

It’s not a standard task so it has to come from an external binary/script plugin or something else in your build setup. You might want to check the ‘buildSrc’ project or init scripts.