Package-level declarations
Types
To be used for com.android.fused-library projects. Applying this creates a publication for the library with empty source and javadoc jars.
To be used for com.android.library projects. Applying this creates a publication for the component of the given variants. Depending on the passed parameters for javadocJar and sourcesJar, -javadoc and -sources jars will be added to the publication.
To be used for com.android.library projects. Applying this creates a publication for the component of the given variant. Depending on the passed parameters for javadocJar and sourcesJar, -javadoc and -sources jars will be added to the publication.
To be used for java-gradle-plugin projects. Uses the default publication that gets created by that plugin. Depending on the passed parameters for javadocJar and sourcesJar, -javadoc and -sources jars will be added to the publication.
To be used for com.gradle.plugin-publish projects. Uses the default publication that gets created by that plugin.
Specifies how the javadoc jar should be created.
To be used for java and java-library projects. Applying this creates a publication for the component called java. Depending on the passed parameters for javadocJar and sourcesJar, -javadoc and -sources jars will be added to the publication.
To be used for java-platforms projects. Applying this creates a publication for the component called javaPlatform.
To be used for org.jetbrains.kotlin.jvm projects. Applying this creates a publication for the component called java. Depending on the passed parameters for javadocJar and sourcesJar, -javadoc and -sources jars will be added to the publication.
To be used for org.jetbrains.kotlin.multiplatform projects. Uses the default publications that gets created by that plugin, including the automatically created -sources jars. Depending on the passed parameters for javadocJar, -javadoc will be added to the publications.
Represents a platform that the plugin supports to publish. For example JavaLibrary, AndroidMultiVariantLibrary or KotlinMultiplatform. When a platform is configured through MavenPublishBaseExtension.configure the plugin will automatically set up the artifacts that should get published, including javadoc and sources jars depending on the option.
To be used for version-catalog projects. Applying this creates a publication for the component called versionCatalog.