Skip to content

Commit

Permalink
Add maven publish plugin for local publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ahormazabal committed Oct 8, 2024
1 parent 969dcef commit 04d2c4e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ buildscript {

plugins {
id 'pl.allegro.tech.build.axion-release' version '1.13.4'
id 'maven-publish'
}

group = 'com.github.rundeck-plugins'

apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'idea'
Expand Down Expand Up @@ -106,3 +109,12 @@ jar {

//set jar task to depend on copyToLib
jar.dependsOn(copyToLib)

publishing {
publications {
maven(MavenPublication) {
artifactId = 'rundeck-ec2-nodes-plugin'
from components.java
}
}
}

0 comments on commit 04d2c4e

Please sign in to comment.