uom-systems icon indicating copy to clipboard operation
uom-systems copied to clipboard

jpms/dependency issues

Open xenoterracide opened this issue 2 years ago • 2 comments

please provide at least the appropriate manifest for java modules, note: this probably applies to other repos as well.

xenoterracide avatar Aug 31 '23 17:08 xenoterracide

You mean a module-info?

That exists for every module of uom-systems from 2.1. Which version do you use?

keilw avatar Aug 31 '23 17:08 keilw

2.1

module com.xenoterracide.ai.wh40k.app {
  requires java.measure;
  requires systems.uom.common;
  requires tech.units.indriya;
}

it would appear though that the error was that I didn't have systems.uom.quantity which wasn't on my classpath as it wasn't something I thought I needed/was using. should that be a dependency already of one of these, that's missing? I'm not sure. I know adding it to my dependency list worked.

These are the locks gradle generated for

javax.measure:unit-api:2.2=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
si.uom:si-quantity:2.1=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
si.uom:si-units:2.1=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
systems.uom:systems-common:2.1=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
tech.units:indriya:2.2=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
tech.uom.lib:uom-lib-common:2.2=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath

from

uom-common = "systems.uom:systems-common:2.+"
uom-indriya = "tech.units:indriya:2.+"
uom-unit-api = "javax.measure:unit-api:2.+"

xenoterracide avatar Aug 31 '23 18:08 xenoterracide