Failed upgrading from 0.19.1 to 0.20.0
I just tried upgrading from version 0.19.1 of the plugin to version 0.20.0 and I'm seeing the following error when Gradle attempts to configure the project:
A problem occurred configuring root project 'some-project'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find any version that matches org.pegdown:pegdown:1.6.+.
Versions that do not match:
- 1.5.0
- 1.4.2
- 1.4.2-atlassian-1
- 1.4.1
- 1.4.0
- + 10 more
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/pegdown/pegdown/maven-metadata.xml
- https://jcenter.bintray.com/org/pegdown/pegdown/maven-metadata.xml
- https://plugins.gradle.org/m2/org/pegdown/pegdown/maven-metadata.xml
Required by:
project : > gradle.plugin.org.openbakery:plugin:0.20.0
I have tried declaring the plugin with both the plugins { id "org.openbakery.xcode-plugin" version "0.20.0" } notation and the dependencies { classpath "gradle.plugin.org.openbakery:plugin:0.20.0" } } notation and the result is the same both times.
Pegdown is the problem and I want to get rid of it see: #431
For a workaround see: https://github.com/openbakery/gradle-xcodePlugin/issues/430#issuecomment-637550588
Thanks for the response @renep. It looks like all I was missing was a mavenCentral() build script repository declaration. I had jcenter() and not mavenCentral(). Looks like the org.pegdown:pegdown:1.6.+ artifact exists in Maven Central but not in JCenter.
I already have remove pegdown in the develop branch, because I was used in the HockeyKit part that I have also ditched and a ReleaseNotes tasks, that I have added a very long time ago, but have never really used is. So it's gone too. 😬