You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.10'
id "se.patrikerdes.use-latest-versions" version "0.2.6"
id 'com.github.ben-manes.versions' version '0.20.0'
}
repositories {
mavenCentral()
}
dependencies {
compile "org.hibernate:hibernate-validator:${hibernateValidatorVersion}"
testCompile "junit:junit:$junitVersion"
}
When running ./gradlew useLatestVersions && ./gradlew useLatestVersionsCheckthe check is failing:
> Task :useLatestVersionsCheck FAILED
useLatestVersions failed to update 1 dependency to the latest version:
- junit:junit [4.0 -> 4.12]
Only the last variable (here hibernateValidatorVersion) is updated.
If I change the ordering of the variables in gradle.properties, then junitVersion (now the last variable) is updated, but not hibernateValidatorVersion.
Thanks and cheers,
usr42/Balthasar
The text was updated successfully, but these errors were encountered:
Hi @patrikerdes,
I found another issue. When the version variables are set in the
gradle.properties
file only the last version is updated.Here is an example:
See https://github.com/usr42/use-latest-issues/tree/multiple-versions-in-gradle_properties
gradle.properties:
build.gradle:
When running
./gradlew useLatestVersions && ./gradlew useLatestVersionsCheck
the check is failing:The gradle.properties was updated to:
Only the last variable (here
hibernateValidatorVersion
) is updated.If I change the ordering of the variables in
gradle.properties
, thenjunitVersion
(now the last variable) is updated, but nothibernateValidatorVersion
.Thanks and cheers,
usr42/Balthasar
The text was updated successfully, but these errors were encountered: