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
Generating unique snapshot artifacts of a gradle project with multiple subprojects will result in the unique snapshot version string to differ slightly for every subproject artifact because the timestamp used to generate that version string includes the minutes and seconds. And since time goes on while the snapshots are built, every timestamp is different. This requires users consuming the snapshots to specify a different version for every artifact, although they all point to the same set of unique version snapshots. For example
Generating unique snapshot artifacts of a gradle project with multiple subprojects will result in the unique snapshot version string to differ slightly for every subproject artifact because the timestamp used to generate that version string includes the minutes and seconds. And since time goes on while the snapshots are built, every timestamp is different. This requires users consuming the snapshots to specify a different version for every artifact, although they all point to the same set of unique version snapshots. For example
Expected Behavior
Gradle should create the timestamp exaclty once and use this timestamp for all subprojects. So that users need to only specify it once.
Current Behavior
Gradle will produce different unique snapshot version strings per subproject for the same build.
Context
I like to offer my user a unique snapshot repository which provides stable but nightly build snapshots of my project. See https://discuss.gradle.org/t/how-to-generate-unique-snapshots-with-the-same-version-string-for-all-subprojects/21153
Your Environment / Steps to reproduce
git clone https://github.com/igniterealtime/Smack.git mkdir /tmp/smack-repo cd Smack gradle uploadLocal -Dmaven.repo.local=/tmp/smack-repo
Observe that the version of every subproject is different.
The text was updated successfully, but these errors were encountered: