Skip to content

LikeTheSalad/artifact-publisher

Repository files navigation

Internal lib used to publish libs of "com.android.library" and "java-library" types.

NOTE: This is an internal tool configured for a single group id artifact.

Extension params:

artifactPublisher {
    // Optionals (if not set, will be taken from the project's equivalent values)
    description = "some description"
    group = "come.group"
    version = "1.0.0"

    // Mandatory
    displayName = "some name"
    url = "http://some.url"
    vcsUrl = "http://some.vcs.url"
    issueTrackerUrl = "http://some.issue.url"
    tags = ["something"]
}

Target extension params:

artifactPublisherTarget {
    disablePublishing = false // defaults to false
}

CI tasks:

  • versionBump to bump the minor version.
  • changelogUpdate to replace the "## Unreleased" part of a changelog.

Command to publish:

./gradlew publishToMavenCentral -Prelease=true

For publishing the artifact-publisher:

To Maven Central:

./gradlew publishLikethesaladPublicationToSonatypeRepository closeAndReleaseSonatypeStagingRepository

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages