|
|
@ -1,12 +1,12 @@ |
|
|
|
jar { |
|
|
|
jar { |
|
|
|
baseName = 'WelcomePlugin' |
|
|
|
baseName = 'WelcomePlugin' |
|
|
|
version = '0.1.0' |
|
|
|
version = '0.1.0' |
|
|
|
manifest { |
|
|
|
manifest { |
|
|
|
attributes 'Plugin-Class' : 'ro.fortsoft.pf4j.demo.welcome.WelcomePlugin', |
|
|
|
attributes 'Plugin-Class' : 'ro.fortsoft.pf4j.demo.welcome.WelcomePlugin', |
|
|
|
'Plugin-Id' : 'WelcomePlugin', |
|
|
|
'Plugin-Id' : 'WelcomePlugin', |
|
|
|
'Plugin-Version' : '1.0.0', |
|
|
|
'Plugin-Version' : '1.0.0', |
|
|
|
'Plugin-Provider' : 'Decebal Suiu' |
|
|
|
'Plugin-Provider' : 'Decebal Suiu' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
task plugin(type: Jar) { |
|
|
|
task plugin(type: Jar) { |
|
|
@ -23,7 +23,7 @@ task plugin(type: Jar) { |
|
|
|
assemble.dependsOn plugin |
|
|
|
assemble.dependsOn plugin |
|
|
|
|
|
|
|
|
|
|
|
dependencies { |
|
|
|
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 'ro.fortsoft.pf4j:pf4j:1.1.1' |
|
|
|
compile 'org.apache.commons:commons-lang3:3.0' |
|
|
|
compile 'org.apache.commons:commons-lang3:3.0' |
|
|
|
testCompile group: 'junit', name: 'junit', version: '4.+' |
|
|
|
testCompile group: 'junit', name: 'junit', version: '4.+' |
|
|
|