@Incubating interface JvmApiSpec
Specifies the packages that constitute the API of a library. Facilitates separation of API and implementation binaries for that library. Backing object for the api {}
DSL.
Since
2.10
abstract fun dependencies(configureAction: Closure<*>): Unit
Specify the dependencies of this API. |
|
abstract fun exports(packageName: String): Unit
Specify a package to be exported as part of the library API. |
|
abstract fun getDependencies(): DependencySpecContainer
The dependencies of this API. |
|
abstract fun getExports(): MutableSet<String>
The set of packages that comprise this library's public API. |