summaryrefslogtreecommitdiffstats
path: root/demo_gradle/plugins/plugin2/build.gradle
blob: ee49c47280224c5ee82d0fea7a1070bca860c897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
jar {
  baseName = 'HelloPlugin'
  version = '0.1.0'
  manifest {
    attributes 'Plugin-Class' : 'ro.fortsoft.pf4j.demo.welcome.HelloPlugin',
      'Plugin-Id' : 'HelloPlugin',
      'Plugin-Version' : '1.0',
      'Plugin-Provider' : 'Decebal Suiu'
  }
}

task plugin(type: Jar) {
  baseName = 'HelloPlugin'
  version = '0.1.0'
  into('classes')
  extension('zip')
  with jar
}

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.+'
}