Plugin Framework for Java (PF4J)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
664 B

10 years ago
jar {
baseName = 'WelcomePlugin'
version = '0.1.0'
manifest {
attributes 'Plugin-Class' : 'ro.fortsoft.pf4j.demo.welcome.WelcomePlugin',
'Plugin-Id' : 'WelcomePlugin',
'Plugin-Version' : '1.0',
'Plugin-Provider' : 'Decebal Suiu'
10 years ago
}
}
task plugin(type: Jar) {
baseName = 'WelcomePlugin'
version = '0.1.0'
9 years ago
into('classes'){
with jar
}
into('lib'){
from configurations.compile
}
10 years ago
extension('zip')
}
9 years ago
assemble.dependsOn plugin
10 years ago
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.+'
9 years ago
}