saker.rmi Documentation TaskDoc JavaDoc Packages
  1. saker.rmi
  2. Package details
  3. Getting started
  4. Classpath

Classpath

You can add saker.rmi as the classpath for your project. You'll need to resolve the bundles during build execution and set it to the classpath of your task. An example for setting it for compilation:

saker.java.compile(
	ClassPath: saker.java.classpath.bundle(
		nest.dependency.resolve(
			saker.rmi,
			Filter: nest.dependency.filter.compile(CompileTransitive: false)
		)
	)
)

The above will resolve the most recent version of saker.rmi and use it as the Java compilation input classpath. See Nest bundle classpath for more information.

If you don't want to use the runtime of the library, you can use the saker.rmi-api dependency for resolution.