From 193828113c78c5a906b0b4ec7640a09b315669ef Mon Sep 17 00:00:00 2001 From: nea Date: Thu, 8 Jun 2023 03:55:38 +0200 Subject: Add dependency locking and hashes --- build.gradle.kts | 4 + buildSrc/build.gradle.kts | 4 + buildSrc/gradle.lockfile | 51 ++ gradle.lockfile | 80 +++ gradle/verification-metadata.xml | 1280 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 1419 insertions(+) create mode 100644 buildSrc/gradle.lockfile create mode 100644 gradle.lockfile create mode 100644 gradle/verification-metadata.xml diff --git a/build.gradle.kts b/build.gradle.kts index 43f60dc..454b6e3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -46,6 +46,10 @@ dependencies { implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion") } +dependencyLocking { + lockAllConfigurations() +} + tasks.processResources { inputs.property("version", project.version) inputs.property("mcversion", project.minecraft.version) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index d3aea12..546d1a8 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -20,4 +20,8 @@ dependencies { implementation("com.github.thefightagainstmalware:ForgeGradle:5a1fcb9") implementation("com.github.thefightagainstmalware:MixinGradle:92e66fe") implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version") +} + +dependencyLocking { + lockAllConfigurations() } \ No newline at end of file diff --git a/buildSrc/gradle.lockfile b/buildSrc/gradle.lockfile new file mode 100644 index 0000000..c4a40eb --- /dev/null +++ b/buildSrc/gradle.lockfile @@ -0,0 +1,51 @@ +# 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. +com.cloudbees:diff4j:1.1=buildScriptClasspath +com.github.abrarsyed.jastyle:jAstyle:1.3=buildScriptClasspath +com.github.jponge:lzma-java:1.3=buildScriptClasspath +com.github.thefightagainstmalware:ForgeGradle:5a1fcb9=buildScriptClasspath +com.github.thefightagainstmalware:MixinGradle:92e66fe=buildScriptClasspath +com.github.tony19:named-regexp:0.2.3=buildScriptClasspath +com.google.code.gson:gson:2.2.4=buildScriptClasspath +com.google.guava:guava:18.0=buildScriptClasspath +com.nothome:javaxdelta:2.0.1=buildScriptClasspath +commons-codec:commons-codec:1.6=buildScriptClasspath +commons-io:commons-io:1.4=buildScriptClasspath +commons-logging:commons-logging:1.1.3=buildScriptClasspath +net.java.dev.jna:jna:5.6.0=buildScriptClasspath +net.minecraftforge:fernflower:2.0-SNAPSHOT=buildScriptClasspath +net.sf.opencsv:opencsv:2.3=buildScriptClasspath +net.sf.trove4j:trove4j:2.1.0=buildScriptClasspath +org.apache.httpcomponents:httpclient:4.3.3=buildScriptClasspath +org.apache.httpcomponents:httpcore:4.3.2=buildScriptClasspath +org.apache.httpcomponents:httpmime:4.3.3=buildScriptClasspath +org.jetbrains.intellij.deps:trove4j:1.0.20200330=buildScriptClasspath +org.jetbrains.kotlin:kotlin-android-extensions:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-compiler-embeddable:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-compiler-runner:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-daemon-client:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-daemon-embeddable:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-gradle-plugin-annotations:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-gradle-plugin-idea-proto:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-gradle-plugin-idea:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-gradle-plugins-bom:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-klib-commonizer-api:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-native-utils:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-project-model:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-scripting-common:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-scripting-jvm:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-tooling-core:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-util-io:1.8.21=buildScriptClasspath +org.jetbrains.kotlin:kotlin-util-klib:1.8.21=buildScriptClasspath +org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.0=buildScriptClasspath +org.jvnet.localizer:localizer:1.12=buildScriptClasspath +org.ow2.asm:asm-debug-all:5.0.3=buildScriptClasspath +trove:trove:1.0.2=buildScriptClasspath +empty=kotlinScriptDefExtensions diff --git a/gradle.lockfile b/gradle.lockfile new file mode 100644 index 0000000..0b7486e --- /dev/null +++ b/gradle.lockfile @@ -0,0 +1,80 @@ +# 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. +com.google.code.findbugs:jsr305:2.0.1=forgeGradleMcDeps +com.google.code.gson:gson:2.2.4=compileClasspath,compileOnlyDependenciesMetadata,forgeGradleMcDeps,testCompileClasspath +com.google.guava:guava:17.0=compileClasspath,compileOnlyDependenciesMetadata,forgeGradleMcDeps,testCompileClasspath +com.ibm.icu:icu4j-core-mojang:51.2=forgeGradleMcDeps +com.mojang:authlib:1.5.21=forgeGradleMcDeps +com.mojang:netty:1.8.8=forgeGradleMcDeps +com.mojang:realms:1.7.59=forgeGradleMcDeps +com.paulscode:codecjorbis:20101023=forgeGradleMcDeps,forgeGradleMcDepsClient +com.paulscode:codecwav:20101023=forgeGradleMcDeps,forgeGradleMcDepsClient +com.paulscode:libraryjavasound:20101123=forgeGradleMcDeps,forgeGradleMcDepsClient +com.paulscode:librarylwjglopenal:20100824=forgeGradleMcDeps,forgeGradleMcDepsClient +com.paulscode:soundsystem:20120107=forgeGradleMcDeps,forgeGradleMcDepsClient +com.typesafe.akka:akka-actor_2.11:2.3.3=forgeGradleMcDeps +com.typesafe:config:1.2.1=forgeGradleMcDeps +commons-codec:commons-codec:1.9=forgeGradleMcDeps +commons-io:commons-io:2.4=compileClasspath,compileOnlyDependenciesMetadata,forgeGradleMcDeps,testCompileClasspath +commons-logging:commons-logging:1.1.3=forgeGradleMcDeps +de.oceanlabs.mcp:mcp:1.8.9=forgeGradleMcpData +de.oceanlabs.mcp:mcp_stable:22-1.8.9=forgeGradleMcpMappings +io.netty:netty-all:4.0.23.Final=forgeGradleMcDeps +java3d:vecmath:1.5.2=forgeGradleMcDeps,forgeGradleMcDepsClient +jline:jline:2.13=forgeGradleMcDeps +lzma:lzma:0.0.1=forgeGradleMcDeps +net.java.dev.jna:jna:3.4.0=forgeGradleMcDeps +net.java.dev.jna:jna:5.6.0=kotlinCompilerClasspath,kotlinKlibCommonizerClasspath +net.java.dev.jna:platform:3.4.0=forgeGradleMcDeps +net.java.jinput:jinput-platform:2.0.5=forgeGradleMcDeps,forgeGradleMcDepsClient,forgeGradleMcNatives +net.java.jinput:jinput:2.0.5=forgeGradleMcDeps,forgeGradleMcDepsClient +net.java.jutils:jutils:1.0.0=forgeGradleMcDeps,forgeGradleMcDepsClient +net.minecraft:launchwrapper:1.12=forgeGradleMcDeps +net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9=compileClasspath,compileOnlyDependenciesMetadata,forgeGradleUserDevPackage,testCompileClasspath +net.minecraftforge:forgeBin:1.8.9-11.15.1.2318-1.8.9=forgeGradleMc +net.sf.jopt-simple:jopt-simple:4.6=forgeGradleMcDeps +net.sf.trove4j:trove4j:3.0.3=forgeGradleMcDeps +org.apache.commons:commons-compress:1.8.1=forgeGradleMcDeps +org.apache.commons:commons-lang3:3.3.2=forgeGradleMcDeps +org.apache.httpcomponents:httpclient:4.3.3=forgeGradleMcDeps +org.apache.httpcomponents:httpcore:4.3.2=forgeGradleMcDeps +org.apache.logging.log4j:log4j-api:2.0-beta9=forgeGradleMcDeps +org.apache.logging.log4j:log4j-core:2.0-beta9=forgeGradleMcDeps +org.fusesource.jansi:jansi:1.11=forgeGradleMcDeps +org.jetbrains.intellij.deps:trove4j:1.0.20200330=kotlinCompilerClasspath,kotlinKlibCommonizerClasspath +org.jetbrains.kotlin:kotlin-compiler-embeddable:1.8.21=kotlinCompilerClasspath,kotlinKlibCommonizerClasspath +org.jetbrains.kotlin:kotlin-daemon-embeddable:1.8.21=kotlinCompilerClasspath,kotlinKlibCommonizerClasspath +org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable:1.8.21=kotlinKlibCommonizerClasspath +org.jetbrains.kotlin:kotlin-reflect:1.6.10=kotlinCompilerClasspath,kotlinKlibCommonizerClasspath +org.jetbrains.kotlin:kotlin-script-runtime:1.8.21=kotlinCompilerClasspath,kotlinCompilerPluginClasspathApi,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest,kotlinKlibCommonizerClasspath +org.jetbrains.kotlin:kotlin-scripting-common:1.8.21=kotlinCompilerPluginClasspathApi,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest +org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.8.21=kotlinCompilerPluginClasspathApi,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest +org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.8.21=kotlinCompilerPluginClasspathApi,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest +org.jetbrains.kotlin:kotlin-scripting-jvm:1.8.21=kotlinCompilerPluginClasspathApi,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest +org.jetbrains.kotlin:kotlin-stdlib-common:1.8.21=apiCompileClasspath,apiImplementationDependenciesMetadata,apiRuntimeClasspath,compileClasspath,implementationDependenciesMetadata,kotlinCompilerClasspath,kotlinCompilerPluginClasspathApi,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest,kotlinKlibCommonizerClasspath,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath +org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.21=apiCompileClasspath,apiImplementationDependenciesMetadata,apiRuntimeClasspath,compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath +org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.21=apiCompileClasspath,apiImplementationDependenciesMetadata,apiRuntimeClasspath,compileClasspath,implementationDependenciesMetadata,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath +org.jetbrains.kotlin:kotlin-stdlib:1.8.21=apiCompileClasspath,apiImplementationDependenciesMetadata,apiRuntimeClasspath,compileClasspath,implementationDependenciesMetadata,kotlinCompilerClasspath,kotlinCompilerPluginClasspathApi,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest,kotlinKlibCommonizerClasspath,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath +org.jetbrains:annotations:13.0=apiCompileClasspath,apiImplementationDependenciesMetadata,apiRuntimeClasspath,compileClasspath,implementationDependenciesMetadata,kotlinCompilerClasspath,kotlinCompilerPluginClasspathApi,kotlinCompilerPluginClasspathMain,kotlinCompilerPluginClasspathTest,kotlinKlibCommonizerClasspath,runtimeClasspath,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath +org.lwjgl.lwjgl:lwjgl-platform:2.9.4-nightly-20150209=forgeGradleMcDeps,forgeGradleMcDepsClient,forgeGradleMcNatives +org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209=forgeGradleMcDeps,forgeGradleMcDepsClient +org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209=forgeGradleMcDeps,forgeGradleMcDepsClient +org.ow2.asm:asm-debug-all:5.0.3=forgeGradleMcDeps +org.scala-lang.modules:scala-parser-combinators_2.11:1.0.1=forgeGradleMcDeps +org.scala-lang.modules:scala-swing_2.11:1.0.1=forgeGradleMcDeps +org.scala-lang.modules:scala-xml_2.11:1.0.2=forgeGradleMcDeps +org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2=forgeGradleMcDeps +org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2=forgeGradleMcDeps +org.scala-lang:scala-actors-migration_2.11:1.1.0=forgeGradleMcDeps +org.scala-lang:scala-actors:2.11.0=forgeGradleMcDeps +org.scala-lang:scala-compiler:2.11.1=forgeGradleMcDeps +org.scala-lang:scala-library:2.11.1=forgeGradleMcDeps +org.scala-lang:scala-reflect:2.11.1=forgeGradleMcDeps +org.spongepowered:mixin:0.7.11-SNAPSHOT=apiCompileClasspath,apiImplementationDependenciesMetadata,apiRuntimeClasspath,compile,compileClasspath,compileOnlyDependenciesMetadata,implementationDependenciesMetadata,runtimeClasspath,shade,testCompileClasspath,testImplementationDependenciesMetadata,testRuntimeClasspath +org.spongepowered:mixin:0.8.5=annotationProcessor +oshi-project:oshi-core:1.1=forgeGradleMcDeps +tv.twitch:twitch-external-platform:4.5=forgeGradleMcDeps,forgeGradleMcDepsClient +tv.twitch:twitch-platform:6.5=forgeGradleMcDeps,forgeGradleMcDepsClient +tv.twitch:twitch:6.5=forgeGradleMcDeps,forgeGradleMcDepsClient +empty=apiAnnotationProcessor,apiApiDependenciesMetadata,apiCompileOnlyDependenciesMetadata,apiDependenciesMetadata,apiIntransitiveDependenciesMetadata,apiKotlinScriptDef,apiKotlinScriptDefExtensions,deobfCompile,deobfProvided,forgeGradleGradleStart,forgeGradleResolvedDeobfCompile,forgeGradleResovledDeobfProvided,intransitiveDependenciesMetadata,kotlinCompilerPluginClasspath,kotlinNativeCompilerPluginClasspath,kotlinScriptDef,kotlinScriptDefExtensions,provided,testAnnotationProcessor,testApiDependenciesMetadata,testCompileOnlyDependenciesMetadata,testIntransitiveDependenciesMetadata,testKotlinScriptDef,testKotlinScriptDefExtensions diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml new file mode 100644 index 0000000..4c78f87 --- /dev/null +++ b/gradle/verification-metadata.xml @@ -0,0 +1,1280 @@ + + + + true + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit