Reproducing identical builds (on different machines)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Reproducing identical builds (on different machines)

This post has NOT been accepted by the mailing list yet.
I wonder if Gradle supports creating identical builds when using dynamic dependencies.

Imagine the following dependency:

compile group: 'org.hibernate', name: 'hibernate-core', version: '3.6.+'

Imagine on machine (A) I already have downloaded version 3.6.5 and 3.6.6.
When I create a build it will take version 3.6.6, right?

Now I make a build on machine (B) where  3.6.5, 3.6.6 and 3.6.7 are in my local repo, then it will pick 3.6.7.

That means I have 2 builds that are NOT identical.

Bundler (Rails) supports the notion of lock files. This lock will make sure identical builds can be produced even with dynamic versions.

Is there something similar possible with Gradle?