diff --git a/.gitignore b/.gitignore index 7c9cfba325..50b75f2b8c 100644 --- a/.gitignore +++ b/.gitignore @@ -88,3 +88,5 @@ core.* # python files *.egg-info __pycache__ + +gradle.lockfile \ No newline at end of file diff --git a/build.gradle b/build.gradle index f30dba4f12..cd16cedfbb 100644 --- a/build.gradle +++ b/build.gradle @@ -66,8 +66,14 @@ allprojects { tasks.withType(JavaForkOptions) { jvmArgs '-Djava.awt.headless=true' } + + // enable generating lock files for gradle dependencies + dependencyLocking { + lockAllConfigurations() + } } + /********************************************************************************* * Use flat directory-style repository if flatRepo directory is present. *********************************************************************************/