From f53701703e6f6a4487aec6e29e209644ed661fef Mon Sep 17 00:00:00 2001 From: soloturn Date: Wed, 26 Aug 2026 07:14:52 +0200 Subject: [PATCH] build: add Gradle dependency locking --- build.gradle | 9 +++++++ nui-gestalt/gradle.lockfile | 42 +++++++++++++++++++++++++++++++++ nui-input/gradle.lockfile | 12 ++++++++++ nui-libgdx/gradle.lockfile | 36 ++++++++++++++++++++++++++++ nui-reflect/gradle.lockfile | 37 +++++++++++++++++++++++++++++ nui/gradle.lockfile | 47 +++++++++++++++++++++++++++++++++++++ 6 files changed, 183 insertions(+) create mode 100644 nui-gestalt/gradle.lockfile create mode 100644 nui-input/gradle.lockfile create mode 100644 nui-libgdx/gradle.lockfile create mode 100644 nui-reflect/gradle.lockfile create mode 100644 nui/gradle.lockfile diff --git a/build.gradle b/build.gradle index d8a464b02..1d51952a5 100644 --- a/build.gradle +++ b/build.gradle @@ -15,3 +15,12 @@ ext { jomlVersion = "1.10.0" geomVersion = "0.1.0" } + +// -PnoLock: skip locking, resolve ranges fresh. Locks all configs, not just compileClasspath. +if (!project.hasProperty("noLock")) { + subprojects { + dependencyLocking { + lockAllConfigurations() + } + } +} diff --git a/nui-gestalt/gradle.lockfile b/nui-gestalt/gradle.lockfile new file mode 100644 index 000000000..c933ad9e6 --- /dev/null +++ b/nui-gestalt/gradle.lockfile @@ -0,0 +1,42 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +# To regenerate this file, run: ./gradlew :nui-gestalt:dependencies --write-locks +com.android.support:support-annotations:28.0.0=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.github.zafarkhaja:java-semver:0.10.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.code.findbugs:annotations:2.0.1=runtimeClasspath,testRuntimeClasspath +com.google.code.findbugs:jsr305:1.3.9=compileClasspath,testCompileClasspath +com.google.code.findbugs:jsr305:3.0.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.6.2=compileClasspath,testCompileClasspath +com.google.code.gson:gson:2.8.5=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.0.18=compileClasspath,testCompileClasspath +com.google.errorprone:error_prone_annotations:2.2.0=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.guava:failureaccess:1.0.1=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.guava:guava:23.0=compileClasspath,testCompileClasspath +com.google.guava:guava:27.0.1-android=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.j2objc:j2objc-annotations:1.1=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.googlecode.gentyref:gentyref:1.2.0=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.miglayout:miglayout-core:5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.squareup:javapoet:1.12.0=annotationProcessor +commons-logging:commons-logging:1.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath +javax.inject:javax.inject:1=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +net.jcip:jcip-annotations:1.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.abego.treelayout:org.abego.treelayout.core:1.0.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-vfs2:2.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath +org.checkerframework:checker-compat-qual:2.5.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath +org.codehaus.mojo:animal-sniffer-annotations:1.14=compileClasspath,testCompileClasspath +org.codehaus.mojo:animal-sniffer-annotations:1.17=annotationProcessor,runtimeClasspath,testRuntimeClasspath +org.javassist:javassist:3.27.0-GA=runtimeClasspath,testRuntimeClasspath +org.joml:joml:1.10.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.reflections:reflections:0.9.10=runtimeClasspath,testRuntimeClasspath +org.slf4j:slf4j-api:1.7.25=annotationProcessor +org.slf4j:slf4j-api:1.7.30=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-asset-core:8.0.0-SNAPSHOT=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-di:8.0.0-SNAPSHOT=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-inject-java:8.0.0-SNAPSHOT=annotationProcessor +org.terasology.gestalt:gestalt-inject:8.0.0-SNAPSHOT=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-module:8.0.0-SNAPSHOT=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-util:8.0.0-SNAPSHOT=annotationProcessor,runtimeClasspath,testRuntimeClasspath +org.terasology.joml-ext:joml-geometry:0.1.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +empty=testAnnotationProcessor diff --git a/nui-input/gradle.lockfile b/nui-input/gradle.lockfile new file mode 100644 index 000000000..4c28e0f84 --- /dev/null +++ b/nui-input/gradle.lockfile @@ -0,0 +1,12 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +# To regenerate this file, run: ./gradlew :nui-input:dependencies --write-locks +com.google.code.findbugs:jsr305:1.3.9=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.0.18=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.guava:guava:23.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.j2objc:j2objc-annotations:1.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.codehaus.mojo:animal-sniffer-annotations:1.14=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.joml:joml:1.10.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.joml-ext:joml-geometry:0.1.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +empty=annotationProcessor,testAnnotationProcessor diff --git a/nui-libgdx/gradle.lockfile b/nui-libgdx/gradle.lockfile new file mode 100644 index 000000000..f925289b9 --- /dev/null +++ b/nui-libgdx/gradle.lockfile @@ -0,0 +1,36 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +# To regenerate this file, run: ./gradlew :nui-libgdx:dependencies --write-locks +com.android.support:support-annotations:28.0.0=runtimeClasspath,testRuntimeClasspath +com.badlogicgames.gdx:gdx-jnigen-loader:2.3.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.badlogicgames.gdx:gdx:1.12.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.github.zafarkhaja:java-semver:0.10.2=runtimeClasspath,testRuntimeClasspath +com.google.code.findbugs:annotations:2.0.1=runtimeClasspath,testRuntimeClasspath +com.google.code.findbugs:jsr305:3.0.2=runtimeClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.8.5=runtimeClasspath,testRuntimeClasspath +com.google.errorprone:error_prone_annotations:2.2.0=runtimeClasspath,testRuntimeClasspath +com.google.guava:failureaccess:1.0.1=runtimeClasspath,testRuntimeClasspath +com.google.guava:guava:27.0.1-android=runtimeClasspath,testRuntimeClasspath +com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=runtimeClasspath,testRuntimeClasspath +com.google.j2objc:j2objc-annotations:1.1=runtimeClasspath,testRuntimeClasspath +com.googlecode.gentyref:gentyref:1.2.0=runtimeClasspath,testRuntimeClasspath +com.miglayout:miglayout-core:5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +commons-logging:commons-logging:1.2=runtimeClasspath,testRuntimeClasspath +javax.inject:javax.inject:1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +net.jcip:jcip-annotations:1.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.abego.treelayout:org.abego.treelayout.core:1.0.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-vfs2:2.2=runtimeClasspath,testRuntimeClasspath +org.checkerframework:checker-compat-qual:2.5.2=runtimeClasspath,testRuntimeClasspath +org.codehaus.mojo:animal-sniffer-annotations:1.17=runtimeClasspath,testRuntimeClasspath +org.javassist:javassist:3.27.0-GA=runtimeClasspath,testRuntimeClasspath +org.joml:joml:1.10.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.reflections:reflections:0.9.10=runtimeClasspath,testRuntimeClasspath +org.slf4j:slf4j-api:1.7.30=runtimeClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-asset-core:8.0.0-SNAPSHOT=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-di:8.0.0-SNAPSHOT=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-inject:8.0.0-SNAPSHOT=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-module:8.0.0-SNAPSHOT=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-util:8.0.0-SNAPSHOT=runtimeClasspath,testRuntimeClasspath +org.terasology.joml-ext:joml-geometry:0.1.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +empty=annotationProcessor,testAnnotationProcessor diff --git a/nui-reflect/gradle.lockfile b/nui-reflect/gradle.lockfile new file mode 100644 index 000000000..f1d314bbc --- /dev/null +++ b/nui-reflect/gradle.lockfile @@ -0,0 +1,37 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +# To regenerate this file, run: ./gradlew :nui-reflect:dependencies --write-locks +com.android.support:support-annotations:28.0.0=annotationProcessor +com.github.zafarkhaja:java-semver:0.10.2=annotationProcessor +com.google.code.findbugs:annotations:2.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.findbugs:jsr305:1.3.9=compileClasspath,testCompileClasspath +com.google.code.findbugs:jsr305:3.0.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.6.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.8.5=annotationProcessor +com.google.errorprone:error_prone_annotations:2.0.18=compileClasspath,testCompileClasspath +com.google.errorprone:error_prone_annotations:2.2.0=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.guava:failureaccess:1.0.1=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.guava:guava:23.0=compileClasspath,testCompileClasspath +com.google.guava:guava:27.0.1-android=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.j2objc:j2objc-annotations:1.1=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.googlecode.gentyref:gentyref:1.2.0=annotationProcessor +com.squareup:javapoet:1.12.0=annotationProcessor +commons-logging:commons-logging:1.2=annotationProcessor +javax.inject:javax.inject:1=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-vfs2:2.2=annotationProcessor +org.checkerframework:checker-compat-qual:2.5.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath +org.codehaus.mojo:animal-sniffer-annotations:1.14=compileClasspath,testCompileClasspath +org.codehaus.mojo:animal-sniffer-annotations:1.17=annotationProcessor,runtimeClasspath,testRuntimeClasspath +org.javassist:javassist:3.18.2-GA=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.joml:joml:1.10.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.reflections:reflections:0.9.10=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.slf4j:slf4j-api:1.7.25=annotationProcessor +org.slf4j:slf4j-api:1.7.30=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-di:8.0.0-SNAPSHOT=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-inject-java:8.0.0-SNAPSHOT=annotationProcessor +org.terasology.gestalt:gestalt-inject:8.0.0-SNAPSHOT=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-util:8.0.0-SNAPSHOT=annotationProcessor +org.terasology.joml-ext:joml-geometry:0.1.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +empty=testAnnotationProcessor diff --git a/nui/gradle.lockfile b/nui/gradle.lockfile new file mode 100644 index 000000000..fc812db16 --- /dev/null +++ b/nui/gradle.lockfile @@ -0,0 +1,47 @@ +# This is a Gradle generated file for dependency locking. +# Manual edits can break the build and are not advised. +# This file is expected to be part of source control. +# To regenerate this file, run: ./gradlew :nui:dependencies --write-locks +com.android.support:support-annotations:28.0.0=annotationProcessor +com.github.zafarkhaja:java-semver:0.10.2=annotationProcessor +com.google.code.findbugs:annotations:2.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.findbugs:jsr305:3.0.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.6.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.google.code.gson:gson:2.8.5=annotationProcessor +com.google.errorprone:error_prone_annotations:2.2.0=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.guava:failureaccess:1.0.1=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.guava:guava:18.0=compileClasspath,testCompileClasspath +com.google.guava:guava:27.0.1-android=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.google.j2objc:j2objc-annotations:1.1=annotationProcessor,runtimeClasspath,testRuntimeClasspath +com.googlecode.gentyref:gentyref:1.2.0=annotationProcessor +com.miglayout:miglayout-core:5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.squareup:javapoet:1.12.0=annotationProcessor +commons-logging:commons-logging:1.2=annotationProcessor +javax.inject:javax.inject:1=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +junit:junit:4.12=testCompileClasspath,testRuntimeClasspath +org.abego.treelayout:org.abego.treelayout.core:1.0.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.apache.commons:commons-vfs2:2.2=annotationProcessor +org.apiguardian:apiguardian-api:1.1.0=testCompileClasspath,testRuntimeClasspath +org.checkerframework:checker-compat-qual:2.5.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath +org.codehaus.mojo:animal-sniffer-annotations:1.17=annotationProcessor,runtimeClasspath,testRuntimeClasspath +org.hamcrest:hamcrest-core:1.3=testCompileClasspath,testRuntimeClasspath +org.javassist:javassist:3.18.2-GA=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.joml:joml:1.10.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.junit.jupiter:junit-jupiter-api:5.6.2=testCompileClasspath,testRuntimeClasspath +org.junit.jupiter:junit-jupiter-engine:5.6.2=testRuntimeClasspath +org.junit.jupiter:junit-jupiter-params:5.6.2=testCompileClasspath,testRuntimeClasspath +org.junit.platform:junit-platform-commons:1.6.2=testCompileClasspath,testRuntimeClasspath +org.junit.platform:junit-platform-engine:1.6.2=testRuntimeClasspath +org.junit.platform:junit-platform-launcher:1.6.2=testRuntimeClasspath +org.junit:junit-bom:5.6.2=testCompileClasspath,testRuntimeClasspath +org.opentest4j:opentest4j:1.2.0=testCompileClasspath,testRuntimeClasspath +org.reflections:reflections:0.9.10=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.slf4j:slf4j-api:1.7.25=annotationProcessor +org.slf4j:slf4j-api:1.7.30=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-di:8.0.0-SNAPSHOT=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-inject-java:8.0.0-SNAPSHOT=annotationProcessor +org.terasology.gestalt:gestalt-inject:8.0.0-SNAPSHOT=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.terasology.gestalt:gestalt-util:8.0.0-SNAPSHOT=annotationProcessor +org.terasology.joml-ext:joml-geometry:0.1.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +empty=testAnnotationProcessor