Skip to content

Commit

Permalink
Added some instructions for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jcpitre committed Oct 19, 2023
1 parent 2c599ec commit ea16c7d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/*
* A note about publishing and signing.
* Maven central requires that artifacts be signed. And upload is done to Sonatype.
* To publish you will need these environment variables defined:
* SONATYPE_USERNAME
* SONATYPE_PASSWORD
* MAVEN_GPG_PRIVATE_KEY
* MAVEN_GPG_PASSPHRASE
* Suggestion is to put these in a shell script with restricted read permissions, then source it before calling
* ./gradlew publish.
*/
plugins {
id 'java'
id 'maven-publish'
Expand Down

0 comments on commit ea16c7d

Please sign in to comment.