Closed BlueGoliath closed 5 years ago
Paste here your version of src/main/java/module-info.java
You should've made changes to that as well.
Here it is:
`module goliathenviousfx { requires javafx.base; requires javafx.controls; requires goliath.envious; requires goliath.nvsettings; requires goliath.nvsmi; requires goliath.nvxconfig; requires goliath.css;
exports goliathenviousfx;
}`
This is a badass-jlink issue, which is fixed in release 2.6.5. You need to put:
id 'org.beryx.jlink' version '2.6.5'
in your build.gradle.
Hopefully 17aa25b has this addressed. Thanks @siordache
Thanks. That fixed that issue, but now i'm getting:
Error: Module goliath.nvsettings not found, required by goliathenviousfx
goliath.nvsettings is a local modular jar. I can't seem to find much information about how to include local modular jars in Gradle. Is it even possible to do?
Hoping @aalmiray can help.
I've tested with the following setup:
ikonli-javafx
and an icon pack as dependencies.module-info.java
to require ikonli modules.dist
target.It works as expected. This makes me think that either the goliath modular JARs are not setup correctly (they may not be true modular JARs) or the dependencies are set wrongly. Try using a flatDir repository, like this
repositories {
mavenCentral()
flatDir { dir 'lib' }
}
dependencies {
compile ':goliath.envious:'
compile ':goliath.nvsettings:'
compile ':goliath.nvsmi:'
compile ':goliath.nvxconfig:'
compile ':goliath.nvserver:'
compile ':goliath.envious.reactive:'
compile ':goliath.io:'
compile ':goliath.css:'
}
Yes, that works perfectly! Thanks all!
Attempting to run the "jLink" task fails with ``` Execution failed for task ':prepareModulesDir'. Cannot retrieve module name from module-info.java