@Incubating public interface JvmApiSpec
api {} DSL.| Modifier and Type | Method | Description | 
|---|---|---|
| void | dependencies(groovy.lang.Closure<?> configureAction) | Specify the dependencies of this API. | 
| void | exports(java.lang.String packageName) | Specify a package to be exported as part of the library API. | 
| DependencySpecContainer | getDependencies() | The dependencies of this API. | 
| java.util.Set<java.lang.String> | getExports() | The set of packages that comprise this library's public API. | 
void exports(java.lang.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 exportedjava.util.Set<java.lang.String> getExports()
void dependencies(groovy.lang.Closure<?> configureAction)
DependencySpecContainer getDependencies()