Kotlin for Forge

Kotlin for Forge

81M Downloads

[Forge 1.16.5] LinkageError using lambda function with external library

dayo05 opened this issue · 1 comments

commented

I am making mod with gradle composite build for common code(not dependent with minecraft).

I have interface me.ddayo.aris.CoroutineProvideron common code to inject some method into object. Inside object, I made custom coroutine provider function like this:

@OptIn(ExperimentalTypeInference::class)
fun <T> coroutine(@BuilderInference block: suspend SequenceScope<CoroutineReturn<T>>.() -> Unit)
    = LuaCoroutineIntegration(sequence(block))

But I cannot invoke this method because of linkage error.

The full error message is:

Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization: 
when resolving method "me.ddayo.aris16.client.lua.ClientFunction.coroutine(Lkotlin/jvm/functions/Function2;)Lme/ddayo/aris/CoroutineProvider$LuaCoroutineIntegration;" 
the class loader (instance of cpw/mods/modlauncher/TransformingClassLoader) of the current class, 
me/ddayo/aris16/client/lua/ClientFunction, and the class loader (instance of sun/misc/Launcher$AppClassLoader) 
for interface me/ddayo/aris/CoroutineProvider have different Class objects for the type kotlin/jvm/functions/Function2 used in the signature

This is result when I execute dependency task(I removed subdependencies of minecraft because they are so long...):

8:41:22 PM: Executing 'dependencies'...

Starting Gradle Daemon...
Gradle Daemon started in 1 s 776 ms

> Configure project :
MixinGradle did not locate the diffplug APT plugin, skipping eclipse task configuration

> Task :dependencies

------------------------------------------------------------
Root project 'aris16'
------------------------------------------------------------

__obfuscated - Generated scope for obfuscated dependencies
\--- blank:kff-1.16.5:1.17.0

_compileJava_1
+--- net.minecraft:client:1.16.5
|    +--- com.mojang:patchy:1.3.9
|    +--- oshi-project:oshi-core:1.1
|    +--- net.java.dev.jna:jna:4.4.0
|    +--- net.java.dev.jna:platform:3.4.0
|    +--- com.ibm.icu:icu4j:66.1
|    +--- com.mojang:javabridge:1.0.22
|    +--- net.sf.jopt-simple:jopt-simple:5.0.3 -> 5.0.4
|    +--- io.netty:netty-all:4.1.25.Final
|    +--- com.google.guava:guava:21.0
|    +--- org.apache.commons:commons-lang3:3.5 -> 3.8.1
|    +--- commons-io:commons-io:2.5
|    +--- commons-codec:commons-codec:1.10
|    +--- net.java.jinput:jinput:2.0.5
|    |    +--- net.java.jutils:jutils:1.0.0
|    |    \--- net.java.jinput:jinput-platform:2.0.5
|    +--- net.java.jutils:jutils:1.0.0
|    +--- com.mojang:brigadier:1.0.17
|    +--- com.mojang:datafixerupper:4.0.26
|    +--- com.google.code.gson:gson:2.8.0
|    +--- com.mojang:authlib:2.1.28
|    +--- org.apache.commons:commons-compress:1.8.1
|    +--- org.apache.httpcomponents:httpclient:4.3.3
|    |    +--- org.apache.httpcomponents:httpcore:4.3.2
|    |    +--- commons-logging:commons-logging:1.1.3
|    |    \--- commons-codec:commons-codec:1.6 -> 1.10
|    +--- commons-logging:commons-logging:1.1.3
|    +--- org.apache.httpcomponents:httpcore:4.3.2
|    +--- it.unimi.dsi:fastutil:8.2.1
|    +--- org.apache.logging.log4j:log4j-api:2.8.1 -> 2.15.0
|    +--- org.apache.logging.log4j:log4j-core:2.8.1 -> 2.15.0
|    |    \--- org.apache.logging.log4j:log4j-api:2.15.0
|    +--- org.lwjgl:lwjgl:3.2.1
|    +--- org.lwjgl:lwjgl-jemalloc:3.2.1
|    |    \--- org.lwjgl:lwjgl:3.2.1
|    +--- org.lwjgl:lwjgl-openal:3.2.1
|    |    \--- org.lwjgl:lwjgl:3.2.1
|    +--- org.lwjgl:lwjgl-opengl:3.2.1
|    |    \--- org.lwjgl:lwjgl:3.2.1
|    +--- org.lwjgl:lwjgl-glfw:3.2.1
|    |    \--- org.lwjgl:lwjgl:3.2.1
|    +--- org.lwjgl:lwjgl-stb:3.2.1
|    |    \--- org.lwjgl:lwjgl:3.2.1
|    +--- org.lwjgl:lwjgl-tinyfd:3.2.1
|    |    \--- org.lwjgl:lwjgl:3.2.1
|    +--- com.mojang:text2speech:1.11.3
|    +--- ca.weblite:java-objc-bridge:1.0.0
|    |    \--- net.java.dev.jna:jna:4.1.0 -> 4.4.0
|    \--- com.google.code.findbugs:jsr305:3.0.1 -> 3.0.2
+--- com.google.code.findbugs:jsr305:3.0.1 -> 3.0.2
+--- net.minecraftforge:mergetool:1.0.9
|    +--- org.ow2.asm:asm:6.2 -> 9.6
|    +--- org.ow2.asm:asm-tree:6.2 -> 9.6
|    |    \--- org.ow2.asm:asm:9.6
|    +--- org.ow2.asm:asm-util:6.2 -> 9.6
|    |    +--- org.ow2.asm:asm:9.6
|    |    +--- org.ow2.asm:asm-tree:9.6 (*)
|    |    \--- org.ow2.asm:asm-analysis:9.6
|    |         \--- org.ow2.asm:asm-tree:9.6 (*)
|    \--- net.sf.jopt-simple:jopt-simple:5.0.4
+--- org.ow2.asm:asm:9.6
+--- org.ow2.asm:asm-commons:9.6
|    +--- org.ow2.asm:asm:9.6
|    \--- org.ow2.asm:asm-tree:9.6 (*)
+--- org.ow2.asm:asm-tree:9.6 (*)
+--- org.ow2.asm:asm-util:9.6 (*)
+--- org.ow2.asm:asm-analysis:9.6 (*)
+--- cpw.mods:modlauncher:8.1.3
|    +--- com.google.code.findbugs:jsr305:3.0.2
|    +--- net.sf.jopt-simple:jopt-simple:5.0.4
|    +--- org.apache.logging.log4j:log4j-api:2.11.2 -> 2.15.0
|    +--- org.apache.logging.log4j:log4j-core:2.11.2 -> 2.15.0 (*)
|    +--- cpw.mods:grossjava9hacks:1.3.+ -> 1.3.3
|    |    +--- org.apache.logging.log4j:log4j-api:2.11.2 -> 2.15.0
|    |    \--- org.apache.logging.log4j:log4j-core:2.11.2 -> 2.15.0 (*)
|    +--- org.ow2.asm:asm:7.2 -> 9.6
|    +--- org.ow2.asm:asm-tree:7.2 -> 9.6 (*)
|    \--- org.ow2.asm:asm-commons:7.2 -> 9.6 (*)
+--- cpw.mods:grossjava9hacks:1.3.3 (*)
+--- net.minecraftforge:accesstransformers:3.0.1
|    +--- org.antlr:antlr4-runtime:4.9.1
|    +--- net.sf.jopt-simple:jopt-simple:5.0.4
|    +--- org.ow2.asm:asm:9.0 -> 9.6
|    +--- org.ow2.asm:asm-commons:9.0 -> 9.6 (*)
|    +--- org.ow2.asm:asm-tree:9.0 -> 9.6 (*)
|    +--- org.apache.logging.log4j:log4j-api:2.11.2 -> 2.15.0
|    +--- org.apache.logging.log4j:log4j-core:2.11.2 -> 2.15.0 (*)
|    \--- cpw.mods:modlauncher:6.1.3 -> 8.1.3 (*)
+--- org.antlr:antlr4-runtime:4.9.1
+--- net.minecraftforge:eventbus:4.0.0
|    +--- org.ow2.asm:asm:7.2 -> 9.6
|    +--- org.ow2.asm:asm-commons:7.2 -> 9.6 (*)
|    +--- org.ow2.asm:asm-tree:7.2 -> 9.6 (*)
|    +--- org.apache.logging.log4j:log4j-api:2.11.+ -> 2.15.0
|    +--- cpw.mods:modlauncher:6.1.+ -> 8.1.3 (*)
|    +--- com.google.code.findbugs:jsr305:3.0.2
|    \--- net.jodah:typetools:0.8.+ -> 0.8.3
+--- net.minecraftforge:forgespi:3.2.0
|    +--- cpw.mods:modlauncher:5.1.+ -> 8.1.3 (*)
|    +--- com.google.code.findbugs:jsr305:3.0.2
|    +--- org.ow2.asm:asm:7.2 -> 9.6
|    +--- org.ow2.asm:asm-commons:7.2 -> 9.6 (*)
|    +--- org.ow2.asm:asm-tree:7.2 -> 9.6 (*)
|    +--- org.apache.logging.log4j:log4j-api:2.11.2 -> 2.15.0
|    \--- org.apache.maven:maven-artifact:3.6.3
|         +--- org.codehaus.plexus:plexus-utils:3.2.1
|         \--- org.apache.commons:commons-lang3:3.8.1
+--- net.minecraftforge:coremods:4.0.6
|    +--- cpw.mods:modlauncher:6.1.+ -> 8.1.3 (*)
|    +--- org.apache.logging.log4j:log4j-api:2.11.2 -> 2.15.0
|    +--- org.ow2.asm:asm:7.2 -> 9.6
|    +--- org.ow2.asm:asm-commons:7.2 -> 9.6 (*)
|    +--- org.ow2.asm:asm-tree:7.2 -> 9.6 (*)
|    +--- org.ow2.asm:asm-util:7.2 -> 9.6 (*)
|    +--- net.minecraftforge:forgespi:3.1.+ -> 3.2.0 (*)
|    \--- com.google.code.findbugs:jsr305:3.0.2
+--- net.minecraftforge:unsafe:0.2.0
|    +--- org.apache.logging.log4j:log4j-api:2.11.+ -> 2.15.0
|    \--- org.apache.logging.log4j:log4j-core:2.11.+ -> 2.15.0 (*)
+--- com.electronwill.night-config:core:3.6.3
+--- com.electronwill.night-config:toml:3.6.3
|    \--- com.electronwill.night-config:core:3.6.3
+--- org.jline:jline:3.12.1
+--- org.apache.maven:maven-artifact:3.6.3 (*)
+--- net.jodah:typetools:0.8.3
+--- org.apache.logging.log4j:log4j-api:2.15.0
+--- org.apache.logging.log4j:log4j-core:2.15.0 (*)
+--- org.apache.logging.log4j:log4j-slf4j18-impl:2.15.0
|    +--- org.slf4j:slf4j-api:1.8.0-beta4
|    +--- org.apache.logging.log4j:log4j-api:2.15.0
|    \--- org.apache.logging.log4j:log4j-core:2.15.0 (*)
+--- net.minecrell:terminalconsoleappender:1.2.0
|    +--- org.apache.logging.log4j:log4j-core:2.8.1 -> 2.15.0 (*)
|    \--- org.jline:jline-reader:3.12.1
|         \--- org.jline:jline-terminal:3.12.1
+--- net.sf.jopt-simple:jopt-simple:5.0.4
+--- org.spongepowered:mixin:0.8.4
+--- net.minecraftforge:nashorn-core-compat:15.1.1.1
\--- net.minecraftforge:forge:1.16.5-36.2.42

annotationProcessor - Annotation processors and their dependencies for source set 'main'.
\--- org.spongepowered:mixin:0.8.5

api - API dependencies for compilation 'main' (target  (jvm)). (n)
No dependencies

apiDependenciesMetadata
\--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10
     +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
     |    +--- org.jetbrains:annotations:13.0
     |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
     \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10
          \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)

apiElements - API elements for the 'main' feature. (n)
No dependencies

apiElements-published (n)
No dependencies

compileClasspath - Compile classpath for compilation 'main' (target  (jvm)).
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10
|    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
|    |    +--- org.jetbrains:annotations:13.0
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10
|         \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
+--- me.ddayo:aris.luagen -> project :aris.luagen
|    +--- project :aris.luagen:ap
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 (*)
|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 (*)
+--- party.iroiro.luajava:luajit:4.0.2
|    \--- party.iroiro.luajava:luajava:4.0.2
+--- blank:kff-1.16.5:{strictly 1.17.0_mapped_official_1.16.5} -> 1.17.0_mapped_official_1.16.5
\--- net.minecraftforge:forge:1.16.5-36.2.42_mapped_official_1.16.5

compileOnly - Compile only dependencies for compilation 'main' (target  (jvm)). (n)
No dependencies

compileOnlyDependenciesMetadata
No dependencies

default - Configuration for default artifacts. (n)
No dependencies

implementation - Implementation only dependencies for compilation 'main' (target  (jvm)). (n)
+--- me.ddayo:aris.luagen (n)
+--- party.iroiro.luajava:luajit:4.0.2 (n)
\--- blank:kff-1.16.5:1.17.0_mapped_official_1.16.5 (n)

implementationDependenciesMetadata
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10
|    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
|    |    +--- org.jetbrains:annotations:13.0
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10
|         \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
+--- me.ddayo:aris.luagen -> project :aris.luagen
|    +--- project :aris.luagen:ap
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 (*)
|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 (*)
+--- party.iroiro.luajava:luajit:4.0.2
|    \--- party.iroiro.luajava:luajava:4.0.2
+--- blank:kff-1.16.5:{strictly 1.17.0_mapped_official_1.16.5} -> 1.17.0_mapped_official_1.16.5
\--- net.minecraftforge:forge:1.16.5-36.2.42_mapped_official_1.16.5

intransitiveDependenciesMetadata
No dependencies

jarJar
No dependencies

kotlinCompilerClasspath
\--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.6.10
     +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
     |    +--- org.jetbrains:annotations:13.0
     |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
     +--- org.jetbrains.kotlin:kotlin-script-runtime:1.6.10
     +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10
     |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
     +--- org.jetbrains.kotlin:kotlin-daemon-embeddable:1.6.10
     +--- org.jetbrains.intellij.deps:trove4j:1.0.20181211
     \--- net.java.dev.jna:jna:5.6.0

kotlinCompilerPluginClasspath
No dependencies

kotlinCompilerPluginClasspathMain - Kotlin compiler plugins for compilation 'main' (target  (jvm))
+--- com.google.devtools.ksp:symbol-processing:1.6.10-1.0.4
|    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
|    |    +--- org.jetbrains:annotations:13.0
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
|    +--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.6.10
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
|    |    +--- org.jetbrains.kotlin:kotlin-script-runtime:1.6.10
|    |    +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
|    |    +--- org.jetbrains.kotlin:kotlin-daemon-embeddable:1.6.10
|    |    +--- org.jetbrains.intellij.deps:trove4j:1.0.20181211
|    |    \--- net.java.dev.jna:jna:5.6.0
|    \--- com.google.devtools.ksp:symbol-processing-api:1.6.10-1.0.4
|         \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
\--- org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.6.10
     +--- org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.6.10
     |    +--- org.jetbrains.kotlin:kotlin-scripting-common:1.6.10
     |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
     |    +--- org.jetbrains.kotlin:kotlin-scripting-jvm:1.6.10
     |    |    +--- org.jetbrains.kotlin:kotlin-script-runtime:1.6.10
     |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
     |    |    \--- org.jetbrains.kotlin:kotlin-scripting-common:1.6.10 (*)
     |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
     \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)

kotlinCompilerPluginClasspathTest - Kotlin compiler plugins for compilation 'test' (target  (jvm))
+--- com.google.devtools.ksp:symbol-processing:1.6.10-1.0.4
|    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
|    |    +--- org.jetbrains:annotations:13.0
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
|    +--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.6.10
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
|    |    +--- org.jetbrains.kotlin:kotlin-script-runtime:1.6.10
|    |    +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
|    |    +--- org.jetbrains.kotlin:kotlin-daemon-embeddable:1.6.10
|    |    +--- org.jetbrains.intellij.deps:trove4j:1.0.20181211
|    |    \--- net.java.dev.jna:jna:5.6.0
|    \--- com.google.devtools.ksp:symbol-processing-api:1.6.10-1.0.4
|         \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
\--- org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.6.10
     +--- org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.6.10
     |    +--- org.jetbrains.kotlin:kotlin-scripting-common:1.6.10
     |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
     |    +--- org.jetbrains.kotlin:kotlin-scripting-jvm:1.6.10
     |    |    +--- org.jetbrains.kotlin:kotlin-script-runtime:1.6.10
     |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
     |    |    \--- org.jetbrains.kotlin:kotlin-scripting-common:1.6.10 (*)
     |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
     \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)

kotlinKlibCommonizerClasspath
\--- org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable:1.6.10
     +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
     |    +--- org.jetbrains:annotations:13.0
     |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
     \--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.6.10
          +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
          +--- org.jetbrains.kotlin:kotlin-script-runtime:1.6.10
          +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10
          |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
          +--- org.jetbrains.kotlin:kotlin-daemon-embeddable:1.6.10
          +--- org.jetbrains.intellij.deps:trove4j:1.0.20181211
          \--- net.java.dev.jna:jna:5.6.0

kotlinNativeCompilerPluginClasspath
No dependencies

kotlinScriptDef - Script filename extensions discovery classpath configuration
No dependencies

kotlinScriptDefExtensions
No dependencies

ksp - KSP dependencies for the 'main' source set. (n)
\--- me.ddayo:ap (n)

kspTest - KSP dependencies for the 'test' source set. (n)
No dependencies

mainSourceElements - List of source directories contained in the Main SourceSet. (n)
No dependencies

minecraftEmbed
No dependencies

minecraftLibrary
No dependencies

runtimeClasspath - Runtime classpath of compilation 'main' (target  (jvm)).
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10
|    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
|    |    +--- org.jetbrains:annotations:13.0 -> 24.1.0
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10
|         \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
+--- me.ddayo:aris.luagen -> project :aris.luagen
|    +--- project :aris.luagen:ap
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 (*)
|    |    +--- com.google.devtools.ksp:symbol-processing-api:1.6.10-1.0.4
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
|    |    \--- party.iroiro.luajava:luajit:4.0.0 -> 4.0.2
|    |         \--- party.iroiro.luajava:luajava:4.0.2
|    |              +--- org.jetbrains:annotations:24.1.0
|    |              \--- com.badlogicgames.gdx:gdx-jnigen-loader:2.5.2
|    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 (*)
|    \--- party.iroiro.luajava:luajit:4.0.2 (*)
+--- party.iroiro.luajava:luajit:4.0.2 (*)
+--- blank:kff-1.16.5:{strictly 1.17.0_mapped_official_1.16.5} -> 1.17.0_mapped_official_1.16.5
+--- net.minecraftforge:forge:1.16.5-36.2.42_mapped_official_1.16.5
\--- party.iroiro.luajava:luajit-platform:4.0.2

runtimeElements - Runtime elements for the 'main' feature. (n)
No dependencies

runtimeElements-published (n)
No dependencies

runtimeOnly - Runtime only dependencies for compilation 'main' (target  (jvm)). (n)
\--- party.iroiro.luajava:luajit-platform:4.0.2 (n)

runtimeOnlyDependenciesMetadata
\--- party.iroiro.luajava:luajit-platform:4.0.2

shade
+--- me.ddayo:aris.luagen -> project :aris.luagen
|    +--- project :aris.luagen:ap
|    |    +--- com.google.devtools.ksp:symbol-processing-api:1.6.10-1.0.4
|    |    \--- party.iroiro.luajava:luajit:4.0.0 -> 4.0.2
|    |         \--- party.iroiro.luajava:luajava:4.0.2
|    |              +--- org.jetbrains:annotations:24.1.0
|    |              \--- com.badlogicgames.gdx:gdx-jnigen-loader:2.5.2
|    \--- party.iroiro.luajava:luajit:4.0.2 (*)
\--- party.iroiro.luajava:luajit-platform:4.0.2

shadow
No dependencies

shadowRuntimeElements (n)
No dependencies

sourceArtifacts (n)
No dependencies

testAnnotationProcessor - Annotation processors and their dependencies for source set 'test'.
No dependencies

testApi - API dependencies for compilation 'test' (target  (jvm)). (n)
No dependencies

testApiDependenciesMetadata
No dependencies

testCompileClasspath - Compile classpath for compilation 'test' (target  (jvm)).
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10
|    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
|    |    +--- org.jetbrains:annotations:13.0
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10
|         \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
+--- me.ddayo:aris.luagen -> project :aris.luagen
|    +--- project :aris.luagen:ap
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 (*)
|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 (*)
+--- party.iroiro.luajava:luajit:4.0.2
|    \--- party.iroiro.luajava:luajava:4.0.2
+--- blank:kff-1.16.5:{strictly 1.17.0_mapped_official_1.16.5} -> 1.17.0_mapped_official_1.16.5
\--- net.minecraftforge:forge:1.16.5-36.2.42_mapped_official_1.16.5

testCompileOnly - Compile only dependencies for compilation 'test' (target  (jvm)). (n)
No dependencies

testCompileOnlyDependenciesMetadata
No dependencies

testImplementation - Implementation only dependencies for compilation 'test' (target  (jvm)). (n)
No dependencies

testImplementationDependenciesMetadata
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10
|    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
|    |    +--- org.jetbrains:annotations:13.0
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10
|         \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
+--- me.ddayo:aris.luagen -> project :aris.luagen
|    +--- project :aris.luagen:ap
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 (*)
|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 (*)
+--- party.iroiro.luajava:luajit:4.0.2
|    \--- party.iroiro.luajava:luajava:4.0.2
+--- blank:kff-1.16.5:{strictly 1.17.0_mapped_official_1.16.5} -> 1.17.0_mapped_official_1.16.5

testIntransitiveDependenciesMetadata
No dependencies

testKotlinScriptDef - Script filename extensions discovery classpath configuration
No dependencies

testKotlinScriptDefExtensions
No dependencies

testRuntimeClasspath - Runtime classpath of compilation 'test' (target  (jvm)).
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10
|    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
|    |    +--- org.jetbrains:annotations:13.0 -> 24.1.0
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10
|         \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
+--- me.ddayo:aris.luagen -> project :aris.luagen
|    +--- project :aris.luagen:ap
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 (*)
|    |    +--- com.google.devtools.ksp:symbol-processing-api:1.6.10-1.0.4
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*)
|    |    \--- party.iroiro.luajava:luajit:4.0.0 -> 4.0.2
|    |         \--- party.iroiro.luajava:luajava:4.0.2
|    |              +--- org.jetbrains:annotations:24.1.0
|    |              \--- com.badlogicgames.gdx:gdx-jnigen-loader:2.5.2
|    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 (*)
|    \--- party.iroiro.luajava:luajit:4.0.2 (*)
+--- party.iroiro.luajava:luajit:4.0.2 (*)
+--- blank:kff-1.16.5:{strictly 1.17.0_mapped_official_1.16.5} -> 1.17.0_mapped_official_1.16.5
\--- party.iroiro.luajava:luajit-platform:4.0.2

testRuntimeOnly - Runtime only dependencies for compilation 'test' (target  (jvm)). (n)
No dependencies

testRuntimeOnlyDependenciesMetadata
\--- party.iroiro.luajava:luajit-platform:4.0.2

(*) - Indicates repeated occurrences of a transitive dependency subtree. Gradle expands transitive dependency subtrees only once per project; repeat occurrences only display the root of the subtree, followed by this annotation.

(n) - A dependency or dependency configuration that cannot be resolved.

A web-based, searchable dependency report is available by adding the --scan option.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 23s
1 actionable task: 1 executed
8:41:46 PM: Execution finished 'dependencies'.

Thanks

commented

This error may only occured on development environment because I shade codes of subprojects