saker.maven.classpath Documentation TaskDoc JavaDoc Packages

Java compilation

You can pass the result of the saker.maven.classpath() task as an input to the saker.java.compile() task for its classpath:

saker.java.compile(
	SourceDirectories: src,
	ClassPath: saker.maven.classpath([
		"junit:junit:4.12",
		"org.slf4j:slf4j-api:1.7.19"
	])
)

It can be also used alongside other various classpaths:

saker.java.compile(
	SourceDirectories: src,
	ClassPath: [
		lib/mylib.jar,
		saker.maven.classpath(### ... ###)
	]
)