NeoGradle
NeoGradle copied to clipboard
Non-minecraft dependency not being added to classpath
I'm trying to add GraalPy to my mod as a dependency. The stuff in the docs is outdated for gradle 9.
Here's what I got rn in my configureEach run `configureEach { systemProperty 'forge.logging.markers', 'REGISTRIES'
dependencies {
runtimeOnly files(project.configurations.graalLibraries)
}
logLevel = org.slf4j.event.Level.DEBUG
}`
In honesty I'm not very sure whats wrong aside from that graalvm isn't being added to the classpath
Have you tried:
configureEach {
systemProperty 'forge.logging.markers', 'REGISTRIES'
dependencies {
runtimeOnly project.configurations.graalLibraries
}
logLevel = org.slf4j.event.Level.DEBUG
}
So without the files?
Greets
Not sure why the old one wouldn't throw this, but when I made the change I suggested. I got the following error. "Adding a Configuration as a dependency is no longer allowed as of Gradle 8.0."