unitsofmeasurement / uom-systems

Units of Measurement Systems
http://www.uom.systems
Other
36 stars 17 forks source link

jpms/dependency issues #203

Closed xenoterracide closed 1 month ago

xenoterracide commented 1 year ago

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

keilw commented 1 year ago

You mean a module-info?

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

xenoterracide commented 1 year ago

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.+"