api / org.gradle.api.tasks.bundling / War / setClasspath

setClasspath

open fun setClasspath(classpath: FileCollection): Unit

Sets the classpath to include in the WAR archive.

Parameters

classpath - The classpath. Must not be null.

Since
4.0

open fun setClasspath(classpath: Any): Unit

Sets the classpath to include in the WAR archive.

Parameters

classpath - The classpath. Must not be null.