It can be quite useful sometimes to get the latest release – if for example you release often your own dependencies.
You can get the latest version like
compile "junit:junit:+"
or better specify at least the major version like
compile "junit:junit:4.+"
More Related Contents:
- How to add local jar files to a Maven project?
- How do I tell Maven to use the latest version of a dependency?
- Make Maven to copy dependencies into target/lib
- Adding external library to artifact jar in IntelliJ IDEA
- Multi-project test dependencies with gradle
- Maven: Failed to read artifact descriptor
- Convert ivy.xml to pom.xml
- How to build a docker container for a Java application
- Maven BOM [Bill Of Materials] Dependency
- What is the difference between “pom” type dependency with scope “import” and without “import”?
- Conflicting library version in a Java Maven project
- What does ‘->’ (arrow) mean in gradle’s dependency graph?
- How to use POMs as a dependency in Maven?
- How can I force Gradle to set the same version for two dependencies?
- How to find/remove unused dependencies in Gradle
- BUG! exception in phase ‘semantic analysis’
- How to make gradle generate a valid pom.xml file at the root of a project for maven users?
- Loading Maven dependencies from GitHub [duplicate]
- How to add ojdbc7 to Java web app by Gradle?
- Why use Gradle instead of Ant or Maven? [closed]
- Maven doesn’t recognize sibling modules when running mvn dependency:tree
- Different dependencies for different build profiles
- Problems passing system properties and parameters when running Java class via Gradle
- Maven Java Version Configuration ignored by Eclipse/Idea
- Resource from src/main/resources not found after building with maven
- TransformException duplicate entry for common.annotations.Beta
- Find a jar file given the class name?
- How to work around the stricter Java 8 Javadoc when using Maven
- IntelliJ GUI Designer Maven Executable JAR Export
- RESTEasy: Could not find writer for content-type application/json type