summaryrefslogtreecommitdiffstats
path: root/demo_gradle/plugins/plugin1/build.gradle
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2017-09-20 16:55:30 +0200
committerGitHub <noreply@github.com>2017-09-20 16:55:30 +0200
commit5916ee64d9c05a4f085f6f6562ed383ff3203e4a (patch)
tree0255541afe778984d2becf450ecbb90d97e595d7 /demo_gradle/plugins/plugin1/build.gradle
parentb8cd3af90f8149e5003ea1db395d67b0fa8f7066 (diff)
downloadpf4j-5916ee64d9c05a4f085f6f6562ed383ff3203e4a.tar.gz
pf4j-5916ee64d9c05a4f085f6f6562ed383ff3203e4a.zip
Change root package from ro.fortsoft.pf4j to org.pf4j (#168)
Diffstat (limited to 'demo_gradle/plugins/plugin1/build.gradle')
-rw-r--r--demo_gradle/plugins/plugin1/build.gradle39
1 files changed, 20 insertions, 19 deletions
diff --git a/demo_gradle/plugins/plugin1/build.gradle b/demo_gradle/plugins/plugin1/build.gradle
index 596101e..f0998a1 100644
--- a/demo_gradle/plugins/plugin1/build.gradle
+++ b/demo_gradle/plugins/plugin1/build.gradle
@@ -2,31 +2,32 @@ jar {
baseName = 'WelcomePlugin'
version = '0.1.0'
manifest {
- attributes 'Plugin-Class' : 'ro.fortsoft.pf4j.demo.welcome.WelcomePlugin',
- 'Plugin-Id' : 'WelcomePlugin',
- 'Plugin-Version' : '1.0.0',
- 'Plugin-Provider' : 'Decebal Suiu'
+ attributes 'Plugin-Class': 'org.pf4j.demo.welcome.WelcomePlugin',
+ 'Plugin-Id': 'WelcomePlugin',
+ 'Plugin-Version': '1.0.0',
+ 'Plugin-Provider': 'Decebal Suiu'
}
}
task plugin(type: Jar) {
- baseName = 'WelcomePlugin'
- version = '0.1.0'
- into('classes'){
- with jar
- }
- into('lib'){
- from configurations.compile
- }
- extension('zip')
+ baseName = 'WelcomePlugin'
+ version = '0.1.0'
+ into('classes') {
+ with jar
+ }
+ into('lib') {
+ from configurations.compile
+ }
+ extension('zip')
}
assemble.dependsOn plugin
dependencies {
- 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.3.0') {
- exclude group: "org.slf4j"
- }
- compile 'org.apache.commons:commons-lang3:3.5'
- testCompile group: 'junit', name: 'junit', version: '4.+'
+ 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('org.pf4j:pf4j:1.4.0-SNAPSHOT') {
+ exclude group: "org.slf4j"
+ }
+ compile 'org.apache.commons:commons-lang3:3.5'
+ testCompile group: 'junit', name: 'junit', version: '4.+'
}