diff options
Diffstat (limited to 'demo_gradle/plugins/plugin2/build.gradle')
-rw-r--r-- | demo_gradle/plugins/plugin2/build.gradle | 11 |
1 files changed, 8 insertions, 3 deletions
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 +} |