Skip to content

Commit

Permalink
Merge pull request #13 from rundeck/fix-gradle-template-deps
Browse files Browse the repository at this point in the history
fixing build.gradle template for dependencies
  • Loading branch information
sjrd218 committed May 1, 2019
2 parents c1a6b60 + 3ed247e commit 2349c5d
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jar {
attributes 'Rundeck-Plugin-Libs': "\${libList}"

}
dependsOn(copyToLib)
}

wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jar {
attributes 'Rundeck-Plugin-Libs': "\${libList}"

}
dependsOn(copyToLib)
}

wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ dependencies {
testCompile "org.spockframework:spock-core:1.0-groovy-2.4"
}

// task to copy plugin libs to output/lib dir
task copyToLib(type: Copy) {
into "\$buildDir/output/lib"
from configurations.pluginLibs
}

jar {
from "\$buildDir/output"
manifest {
Expand All @@ -59,6 +65,7 @@ jar {
attributes 'Rundeck-Plugin-Libs': "\${libList}"

}
dependsOn(copyToLib)
}

wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jar {
attributes 'Rundeck-Plugin-Libs': "\${libList}"

}
dependsOn(copyToLib)
}

wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ dependencies {
testCompile "org.spockframework:spock-core:1.0-groovy-2.4"
}

// task to copy plugin libs to output/lib dir
task copyToLib(type: Copy) {
into "\$buildDir/output/lib"
from configurations.pluginLibs
}

jar {
from "\$buildDir/output"
manifest {
Expand All @@ -59,6 +65,7 @@ jar {
attributes 'Rundeck-Plugin-Libs': "\${libList}"

}
dependsOn(copyToLib)
}

wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ dependencies {
testCompile "org.spockframework:spock-core:1.0-groovy-2.4"
}

// task to copy plugin libs to output/lib dir
task copyToLib(type: Copy) {
into "\$buildDir/output/lib"
from configurations.pluginLibs
}

jar {
from "\$buildDir/output"
manifest {
Expand All @@ -59,6 +65,7 @@ jar {
attributes 'Rundeck-Plugin-Libs': "\${libList}"

}
dependsOn(copyToLib)
}

wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ dependencies {
testCompile "org.spockframework:spock-core:1.0-groovy-2.4"
}

// task to copy plugin libs to output/lib dir
task copyToLib(type: Copy) {
into "\$buildDir/output/lib"
from configurations.pluginLibs
}

jar {
from "\$buildDir/output"
manifest {
Expand All @@ -59,6 +65,7 @@ jar {
attributes 'Rundeck-Plugin-Libs': "\${libList}"

}
dependsOn(copyToLib)
}

wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ dependencies {
testCompile "org.spockframework:spock-core:1.0-groovy-2.4"
}

// task to copy plugin libs to output/lib dir
task copyToLib(type: Copy) {
into "\$buildDir/output/lib"
from configurations.pluginLibs
}

jar {
from "\$buildDir/output"
manifest {
Expand All @@ -59,6 +65,7 @@ jar {
attributes 'Rundeck-Plugin-Libs': "\${libList}"

}
dependsOn(copyToLib)
}

wrapper {
Expand Down

0 comments on commit 2349c5d

Please sign in to comment.