api / org.gradle.api.plugins.osgi / OsgiManifest / setClassesDir

setClassesDir

abstract fun setClassesDir(classesDir: File): Unit

Sets the classes dir. This directory is the major source of input for generation the OSGi manifest. All classes are analyzed for its packages and package dependencies. Based on this the Import-Package value is set. This auto generated value can be overwritten by explicitly setting an instruction.

See Also
#instruction(String, String...)