api / org.gradle.jvm / JvmLibrarySpec

JvmLibrarySpec

@Incubating interface JvmLibrarySpec : LibrarySpec, JvmComponentSpec, PlatformAwareComponentSpec

Definition of a JVM library component that is to be built by Gradle.

Functions

getApi

abstract fun getApi(): JvmApiSpec

The public API of this library.

getDependencies

abstract fun getDependencies(): DependencySpecContainer

The component-level dependencies of this library.

Inherited Functions

targetPlatform

abstract fun targetPlatform(targetPlatform: String): Unit

Specifies a platform that this component should be built be for.