@Incubating public interface JvmApiSpec
api {} DSL.| Modifier and Type | Method and Description |
|---|---|
void |
dependencies(Closure<?> configureAction)
Specify the dependencies of this API.
|
void |
exports(String packageName)
Specify a package to be exported as part of the library API.
|
DependencySpecContainer |
getDependencies()
The dependencies of this API.
|
Set<String> |
getExports()
The set of packages that comprise this library's public API.
|
void exports(String packageName)
packageName - the name of the package to be exported, e.g. "com.example.p1"InvalidUserDataException - if the package name is not valid or has already been exportedvoid dependencies(Closure<?> configureAction)
DependencySpecContainer getDependencies()