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.

build.gradle 573B

12345678910111213141516171819202122232425
  1. jar {
  2. baseName = 'HelloPlugin'
  3. version = '0.1.0'
  4. manifest {
  5. attributes 'Plugin-Class' : 'ro.fortsoft.pf4j.demo.welcome.HelloPlugin',
  6. 'Plugin-Id' : 'HelloPlugin',
  7. 'Plugin-Version' : '1.0',
  8. 'Plugin-Provider' : 'Yannick Bäumer'
  9. }
  10. }
  11. task plugin(type: Jar) {
  12. baseName = 'HelloPlugin'
  13. version = '0.1.0'
  14. into('classes')
  15. extension('zip')
  16. with jar
  17. }
  18. dependencies {
  19. compile project(':api')
  20. compile 'ro.fortsoft.pf4j:pf4j:0.4'
  21. compile 'org.apache.commons:commons-lang3:3.0'
  22. testCompile group: 'junit', name: 'junit', version: '4.+'
  23. }