Skip to content

Commit 2e855c7

Browse files
committed
fix comments
1 parent 3113e8e commit 2e855c7

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: ./gradlew build
2626
- name: Get Release Version
2727
id: get_version
28-
run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet) && echo ::set-output name=VERSION::$VERSION
28+
run: VERSION=$(./gradlew currentVersion -q -Prelease.quiet) && echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
2929
- name: Upload git-plugin jar
3030
uses: actions/upload-artifact@v4
3131
with:

build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,16 @@ ext.githubSlug = 'rundeck-plugins/git-plugin'
1212
ext.pluginClassNames='com.rundeck.plugin.GitResourceModelFactory,com.rundeck.plugin.GitCloneWorkflowStep,com.rundeck.plugin.GitPushWorkflowStep,com.rundeck.plugin.GitCommitWorkflowStep,com.rundeck.plugin.GitAddWorkflowStep'
1313
ext.pluginName = 'Git Plugin'
1414
ext.pluginDescription = 'This is a git plugin (based on Jgit) which contain a Resource model and worflow steps'
15+
ext.developers = [
16+
[id: 'ltamaster', name: 'Luis Toledo', email: 'luis@variacode.com']
17+
]
18+
1519

1620
java {
1721
sourceCompatibility = JavaVersion.VERSION_11
1822
targetCompatibility = JavaVersion.VERSION_11
23+
withJavadocJar()
24+
withSourcesJar()
1925
}
2026

2127
scmVersion {
@@ -93,11 +99,12 @@ jar {
9399
nexusPublishing {
94100
packageGroup = 'org.rundeck-plugins'
95101
repositories {
96-
sonatype{
97-
stagingProfileId = '67d196ce5bae'
98-
}
102+
sonatype()
99103
}
100104
}
101105

106+
test {
107+
useJUnitPlatform()
108+
}
102109

103110
apply from: "${rootDir}/gradle/publishing.gradle"

0 commit comments

Comments
 (0)