# Package-level declarations

Tasks for publishing in the Maven format.

#### Since

1.4

## Types

AbstractPublishToMaven
Link copied to clipboard
@DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
abstract class AbstractPublishToMaven : DefaultTask
Base class for tasks that publish a MavenPublication.
GenerateMavenPom
Link copied to clipboard
@UntrackedTask(because = "Gradle doesn't understand the data structures used to configure this task")
abstract class GenerateMavenPom : DefaultTask
Generates a Maven module descriptor (POM) file.
PublishToMavenLocal
Link copied to clipboard
@DisableCachingByDefault(because = "Not worth caching")
abstract class PublishToMavenLocal : AbstractPublishToMaven
Publishes a org.gradle.api.publish.maven.MavenPublication to the Maven Local repository.
PublishToMavenRepository
Link copied to clipboard
@DisableCachingByDefault(because = "Not worth caching")
abstract class PublishToMavenRepository : AbstractPublishToMaven
Publishes a MavenPublication to a MavenArtifactRepository.