We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have a multi-project build. Many of our version numbers we keep in gradle.properties at the root project level. eg:
gradle.properties
hikaricp_version = 3.3.1 jetbrains_annotations_version = 17.0.0 jooq_version = 3.11.11 kotlin_logging_version = 1.6.26 kotlintest_version = 3.3.2 kotlin_version = 1.3.41 log4j2_slf4j_version = 2.11.2 postgresql_jdbc_version = 42.2.5 slf4j_simple_version = 1.7.26 testcontainers_version = 1.11.3
Dependencies are specified in the sub-projects:
// project-sub/build.gradle dependencies { implementation "com.zaxxer:HikariCP:$hikaricp_version" implementation "io.github.microutils:kotlin-logging:$kotlin_logging_version" implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "org.jetbrains:annotations:$jetbrains_annotations_version" implementation "org.jooq:jooq:$jooq_version" testImplementation "io.kotlintest:kotlintest-assertions:$kotlintest_version" testImplementation "io.kotlintest:kotlintest-core:$kotlintest_version" testImplementation "io.kotlintest:kotlintest-runner-junit5:$kotlintest_version" }
With 0.2.8, these version numbers in the properties file are upgraded correctly. With 0.2.9 through 0.2.12 they aren't.
The text was updated successfully, but these errors were encountered:
Thanks for the bug report, it seems this scenario wasn't considered when implementing better support for multi-project builds in 0.2.9.
Sorry, something went wrong.
Has this been fixed?
No
Fixed in 0.2.14 which is now available
FYI: Found out, that boolean flag is not applied if you use it in configuration like:
useLatestVersions { updateRootProperties = true }
So you have to use cmd line flag gradle useLatestVersion --update-root-properties
gradle useLatestVersion --update-root-properties
Successfully merging a pull request may close this issue.
We have a multi-project build. Many of our version numbers we keep in
gradle.properties
at the root project level. eg:Dependencies are specified in the sub-projects:
With 0.2.8, these version numbers in the properties file are upgraded correctly. With 0.2.9 through 0.2.12 they aren't.
The text was updated successfully, but these errors were encountered: