Gradle Maven Publish Plugin: Difference between revisions
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
"maven-publish" is an newer alternative to publishing with [[Gradle Maven Plugin#Overview|Maven Plugin]]. It generates Maven metadata and pushes the artifacts and the metadata to a Maven repository. | "maven-publish" is an newer alternative to publishing with [[Gradle Maven Plugin#Overview|Maven Plugin]]. It generates Maven metadata and pushes the artifacts and the metadata to a Maven repository. | ||
<syntaxhighlight lang='groovy'> | |||
apply plugin: 'maven-publish' | |||
</syntaxhighlight> | |||
=Publishing to a Maven Repository= | =Publishing to a Maven Repository= |
Revision as of 19:41, 15 May 2018
External
Internal
Overview
"maven-publish" is an newer alternative to publishing with Maven Plugin. It generates Maven metadata and pushes the artifacts and the metadata to a Maven repository.
apply plugin: 'maven-publish'