wantedly-maven-repository

Wantedly Maven Repository

License

License

Categories

Categories

Maven Build Tools Ant
GroupId

GroupId

com.wantedly
ArtifactId

ArtifactId

wantedly-maven-repository
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

wantedly-maven-repository
Wantedly Maven Repository
Project URL

Project URL

https://github.com/wantedly/maven-repository
Source Code Management

Source Code Management

https://github.com/wantedly/maven-repository.git

Download wantedly-maven-repository

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

wantedly-maven-repository

Maven Central

Make it easier adding a Wantedly's private Maven repository to your Gradle script.

Setup

import com.wantedly.maven.repository.wantedly

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath("com.wantedly:wantedly-maven-repository:${LATEST_VERSION}")
    }
}

repositories {
    // Adds a GitHub Packages Maven repository.
    wantedly(repo = "repo-name")
}

dependencies {
    // You can use the artifacts that have "com.wantedly" groupId!
    implementation("com.wantedly.foo:bar:baz")
}

How to publish to Maven Central

GitHub

You can publish this library using publish workflow from GitHub Actions.

You must change the artifact version before running publish workflow to publish the new version. Otherwise, publish workflow will fail.

Local

This repository is public, so we can't write about secrets values, but you can find it in the internal documentation.

$ export ORG_GRADLE_PROJECT_signingKeyId=XXXXXXXXXXXX
$ export ORG_GRADLE_PROJECT_signingKey=XXXXXXXXXXXX
$ export ORG_GRADLE_PROJECT_signingPassword=XXXXXXXXXXXX
$ export ORG_GRADLE_PROJECT_sonatypeUsername=XXXXXXXXXXXX
$ export ORG_GRADLE_PROJECT_sonatypePassword=XXXXXXXXXXXX
$ ./gradlew clean publishToSonatype closeAndReleaseSonatypeStagingRepository
com.wantedly

Wantedly, Inc.

Create a world where work drives passion.

Versions

Version
1.0.1
1.0.0