Skip to content

Commit

Permalink
Handle date-based tags as v1.2.3 style
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl DeBisschop committed Jul 21, 2024
1 parent dcfd438 commit b5a0bf1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ sonarqube {
property "sonar.projectKey", "kdebisschop_rundeck-nexus3-optionvalue-plugin"
property "sonar.organization", "kdebisschop"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.login", "807fd8589d7244bd324b5fecdfca9614d8a40c8c"
}
}

Expand Down Expand Up @@ -79,8 +78,10 @@ configurations{
}

gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked"
tasks.withType(JavaCompile).tap {
configureEach {
options.compilerArgs << "-Xlint:unchecked"
}
}
}

Expand All @@ -98,7 +99,7 @@ dependencies {
}

// Task to copy plugin libs to output/lib dir
task copyToLib(type: Copy) {
tasks.register('copyToLib', Copy) {
into "$buildDir/output/lib"
from configurations.pluginLibs
}
Expand All @@ -125,11 +126,11 @@ jar {
dependsOn(copyToLib)
}

task sourceJar(type: Jar) {
tasks.register('sourceJar', Jar) {
from sourceSets.main.allJava
}

task javadocJar(type: Jar) {
tasks.register('javadocJar', Jar) {
from javadoc.destinationDir
}

Expand Down

0 comments on commit b5a0bf1

Please sign in to comment.