Open reva opened 1 year ago
Testing a bit further it seemed to me that the plugin always used the versions.properties
file, not the actual version catalog. I curated the libs.versions.toml file by hand and switched to version-catalog-update-plugin which works great but for https://github.com/gradle/gradle/issues/22797 (which should soon be fixed)
I'm probably missing something, but just following the docs...:
🐛 Describe the problem
gradle/libs.versions.toml
do not get 'refreshed'⚠️ Current behavior
VersionCatalogOnly
theversions.properties
is still requiredrefreshVersions
, the versions for plugins in thegradle/libs.versions.toml
do not get comments for the newest versions✅ Expected behavior
VersionCatalogOnly
should only use the version catalog, not theversion.properties
refreshVersions
should refresh plugins as well. It does so in theversions.properties
but this file is not expected at all (#640)💣 Steps to reproduce
settings.gradle.kts
file./gradlew refreshVersionsMigrate --mode=VersionCatalogOnly
./gradlew refreshVersions
gradle/libs.versions.toml
, the versions of plugins are not refreshedversions.properties
file, the build fails (Plugin [id: 'org.springframework.boot'] was not found in any of the following sources
)