summaryrefslogtreecommitdiffstats
path: root/demo_gradle
diff options
context:
space:
mode:
authorecumene-software <mitchell.hynes@ecumene.xyz>2016-06-30 16:23:14 -0230
committerecumene-software <mitchell.hynes@ecumene.xyz>2016-06-30 16:23:14 -0230
commitea97d8819e2c452a5191577a9b237150e736c3d6 (patch)
tree640f2125f1cf908593b02fafa4eb75ecc3f59cc1 /demo_gradle
parente42154f15b1063de73e0e7cfc61605a555ab8b62 (diff)
downloadpf4j-ea97d8819e2c452a5191577a9b237150e736c3d6.tar.gz
pf4j-ea97d8819e2c452a5191577a9b237150e736c3d6.zip
Fix #103
Diffstat (limited to 'demo_gradle')
-rw-r--r--demo_gradle/plugins/plugin1/build.gradle11
-rw-r--r--demo_gradle/plugins/plugin2/build.gradle11
2 files changed, 16 insertions, 6 deletions
diff --git a/demo_gradle/plugins/plugin1/build.gradle b/demo_gradle/plugins/plugin1/build.gradle
index 3655668..24403c2 100644
--- a/demo_gradle/plugins/plugin1/build.gradle
+++ b/demo_gradle/plugins/plugin1/build.gradle
@@ -12,14 +12,19 @@ jar {
task plugin(type: Jar) {
baseName = 'WelcomePlugin'
version = '0.1.0'
- into('classes')
+ into('classes'){
+ with jar
+ }
+ into('lib'){
+ from configurations.compile
+ }
extension('zip')
- with jar
}
+assemble.dependsOn plugin
dependencies {
compile project(':api')
compile 'ro.fortsoft.pf4j:pf4j:0.4'
compile 'org.apache.commons:commons-lang3:3.0'
testCompile group: 'junit', name: 'junit', version: '4.+'
-} \ No newline at end of file
+}
diff --git a/demo_gradle/plugins/plugin2/build.gradle b/demo_gradle/plugins/plugin2/build.gradle
index ee49c47..7dee83d 100644
--- a/demo_gradle/plugins/plugin2/build.gradle
+++ b/demo_gradle/plugins/plugin2/build.gradle
@@ -12,14 +12,19 @@ jar {
task plugin(type: Jar) {
baseName = 'HelloPlugin'
version = '0.1.0'
- into('classes')
+ into('classes'){
+ with jar
+ }
+ into('lib'){
+ from configurations.compile
+ }
extension('zip')
- with jar
}
+assemble.dependsOn plugin
dependencies {
compile project(':api')
compile 'ro.fortsoft.pf4j:pf4j:0.4'
compile 'org.apache.commons:commons-lang3:3.0'
testCompile group: 'junit', name: 'junit', version: '4.+'
-} \ No newline at end of file
+}