aboutsummaryrefslogtreecommitdiffstats
path: root/demo_gradle/plugins/plugin2
diff options
context:
space:
mode:
authorMichael Weinberger <michael.weinberger@lyze.at>2017-02-16 20:39:57 +0100
committerMichael Weinberger <michael.weinberger@lyze.at>2017-02-16 20:39:57 +0100
commit0f61cbe5b8d9e80f5bb6fac2aa807ada00569a31 (patch)
treea5ae1e2c24b83492defb888b80685ca31abbcfa2 /demo_gradle/plugins/plugin2
parentf6d6db326a2d2ae61d0b42dd7337b5c17e84bef1 (diff)
downloadpf4j-0f61cbe5b8d9e80f5bb6fac2aa807ada00569a31.tar.gz
pf4j-0f61cbe5b8d9e80f5bb6fac2aa807ada00569a31.zip
Added compileOnly to "api" dependencies in plugins.
Same as: https://github.com/decebals/pf4j/blob/master/demo/api/pom.xml#L32
Diffstat (limited to 'demo_gradle/plugins/plugin2')
-rw-r--r--demo_gradle/plugins/plugin2/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo_gradle/plugins/plugin2/build.gradle b/demo_gradle/plugins/plugin2/build.gradle
index 4e380d5..a13bfec 100644
--- a/demo_gradle/plugins/plugin2/build.gradle
+++ b/demo_gradle/plugins/plugin2/build.gradle
@@ -23,7 +23,7 @@ task plugin(type: Jar) {
assemble.dependsOn plugin
dependencies {
- compile project(':api')
+ compileOnly project(':api') // compileOnly important!!! We do not want to put the api into the zip file since the main program has it already!
compile 'ro.fortsoft.pf4j:pf4j:1.1.1'
compile 'org.apache.commons:commons-lang3:3.0'
testCompile group: 'junit', name: 'junit', version: '4.+'