nemerosa / versioning

Gradle plug-in to generate version information from the SCM branch (Git or Svn)
MIT License
200 stars 40 forks source link

Version 2.8.2 is not available in JCenter #54

Closed Bno93 closed 6 years ago

Bno93 commented 6 years ago

Hi,

you plugin look interesting so I tried it but my gradle (2.14) faild when execute gralde task here is the console output:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'dparchitekt'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not find net.nemerosa:versioning:2.8.
     Searched in the following locations:
         https://jcenter.bintray.com/net/nemerosa/versioning/2.8.2/versioning-2.8.2.pom
         https://jcenter.bintray.com/net/nemerosa/versioning/2.8.2/versioning-2.8.2.jar
     Required by:
         :dparchitekt:unspecified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.562 secs

I applied the plugin according to the Readme provided.

After I looked into jcenter I noticed that only version 2.7.1 is available.

maybe the readme should be updated to avoid this error.

dcoraboeuf commented 6 years ago

Thanks for the remark.

Corrected in the README. Note that the DSL notation is the one being recommended.