diff options
author | modmuss50 <modmuss50@gmail.com> | 2021-06-16 19:16:47 +0100 |
---|---|---|
committer | modmuss50 <modmuss50@gmail.com> | 2021-06-16 19:16:47 +0100 |
commit | b4cd38a287196fda82b7323ba1d601a517a93c8f (patch) | |
tree | c4278cab9b80b1239fe9512cf1b67589696be5f7 /build.gradle | |
parent | 1f9f48052b4ac4ac2658b62128911f6a36127f8c (diff) | |
download | architectury-loom-b4cd38a287196fda82b7323ba1d601a517a93c8f.tar.gz architectury-loom-b4cd38a287196fda82b7323ba1d601a517a93c8f.tar.bz2 architectury-loom-b4cd38a287196fda82b7323ba1d601a517a93c8f.zip |
Ensure deps are reproducible. This prevents them from being updated without us knowing.
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 3e4cb362..f64dbc30 100644 --- a/build.gradle +++ b/build.gradle @@ -48,6 +48,12 @@ configurations { testRuntimeClasspath.extendsFrom bootstrap } +configurations.all { + resolutionStrategy { + failOnNonReproducibleResolution() + } +} + dependencies { implementation gradleApi() @@ -87,7 +93,27 @@ dependencies { implementation ('org.benf:cfr:0.151') // source code remapping - implementation ('org.cadixdev:mercury:0.1.0-rc1') + implementation ('org.cadixdev:mercury:[0.1.0-rc1]') + + // Mercury pulls all of these deps in, however eclipse does not specify the exact version to use so they can get updated without us knowing. + // Depend specifically on these versions to prevent them from being updated under our feet. + implementation ('org.eclipse.jdt:org.eclipse.jdt.core:[3.21.0]') + implementation ('org.eclipse.platform:org.eclipse.compare.core:[3.6.1000]') + implementation ('org.eclipse.platform:org.eclipse.core.commands:[3.9.800]') + implementation ('org.eclipse.platform:org.eclipse.core.contenttype:[3.7.900]') + implementation ('org.eclipse.platform:org.eclipse.core.expressions:[3.7.100]') + implementation ('org.eclipse.platform:org.eclipse.core.filesystem:[1.7.700]') + implementation ('org.eclipse.platform:org.eclipse.core.jobs:[3.10.1100]') + implementation ('org.eclipse.platform:org.eclipse.core.resources:[3.14.0]') + implementation ('org.eclipse.platform:org.eclipse.core.runtime:[3.20.100]') + implementation ('org.eclipse.platform:org.eclipse.equinox.app:[1.5.100]') + implementation ('org.eclipse.platform:org.eclipse.equinox.common:[3.14.100]') + implementation ('org.eclipse.platform:org.eclipse.equinox.preferences:[3.8.200]') + implementation ('org.eclipse.platform:org.eclipse.equinox.registry:[3.10.100]') + implementation ('org.eclipse.platform:org.eclipse.osgi:[3.16.200]') + implementation ('org.eclipse.platform:org.eclipse.team.core:[3.8.1100]') + implementation ('org.eclipse.platform:org.eclipse.text:[3.11.0]') + // Kapt integration compileOnly('org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0') |