Can gradle use latest.release as default dependency version? -


I want to write version: 'latest.release' somewhere build.gradle somewhere. Then the dependency can be simplified like this: 'org.jsoup: jsoup' compile

Just like the spring boot: compiling 'org.springframework.boot: spring-boot-starter-web' < / P>

Is it possible? Usually, best practice is always to make against the exact version, avoid unexpected scenarios.

However, if you really want to build against the latest release, you can:

  dependency {myConfiguration 'group: module: latest release' }  

The latest (appropriate) way to apply. For all artworks, please write a resolution strategy, take a look at this:


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -