I have a following code:
buildscript{
repositories {
maven {
url "${repo_url}"
credentials {
...
}
}
mavenLocal()
}
dependencies {
classpath ("group:name:+")
}
}
There is one artifact and two repositories. The local repository contains version 0.5.5. The remote repository contains version 0.4.5. I want to download the latest version from both. if I specify the version as ‘+’ gradle will download 0.4.5 from remote repository. if I specify the version as ‘0.5.+’ gradle will download 0.5.5 from local repository. Could anyone explain me this situation? And how can i download the latest from both? Thanks.
UPDATE: It is no problem anymore. That was just my mistake