Browse Source

Merge pull request #104 from ecumene-software/ecu-gradle-fixes

Fix for issue #103 and added the SLF4 Simple dependency
pull/108/head
Decebal Suiu 9 years ago committed by GitHub
parent
commit
89b598cb9f
  1. 1
      demo_gradle/app/build.gradle
  2. 9
      demo_gradle/plugins/plugin1/build.gradle
  3. 9
      demo_gradle/plugins/plugin2/build.gradle

1
demo_gradle/app/build.gradle

@ -7,6 +7,7 @@ dependencies {
compile 'ro.fortsoft.pf4j:pf4j:0.4'
compile 'org.apache.commons:commons-lang3:3.0'
testCompile group: 'junit', name: 'junit', version: '4.+'
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.6.1'
}
jar {

9
demo_gradle/plugins/plugin1/build.gradle

@ -12,10 +12,15 @@ jar {
task plugin(type: Jar) {
baseName = 'WelcomePlugin'
version = '0.1.0'
into('classes')
extension('zip')
into('classes'){
with jar
}
into('lib'){
from configurations.compile
}
extension('zip')
}
assemble.dependsOn plugin
dependencies {
compile project(':api')

9
demo_gradle/plugins/plugin2/build.gradle

@ -12,10 +12,15 @@ jar {
task plugin(type: Jar) {
baseName = 'HelloPlugin'
version = '0.1.0'
into('classes')
extension('zip')
into('classes'){
with jar
}
into('lib'){
from configurations.compile
}
extension('zip')
}
assemble.dependsOn plugin
dependencies {
compile project(':api')

Loading…
Cancel
Save