aboutsummaryrefslogtreecommitdiffstats
path: root/demo_gradle/plugins/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'demo_gradle/plugins/build.gradle')
-rw-r--r--demo_gradle/plugins/build.gradle6
1 files changed, 3 insertions, 3 deletions
diff --git a/demo_gradle/plugins/build.gradle b/demo_gradle/plugins/build.gradle
index 104b17d..d27535b 100644
--- a/demo_gradle/plugins/build.gradle
+++ b/demo_gradle/plugins/build.gradle
@@ -3,20 +3,20 @@ subprojects {
manifest {
attributes 'Plugin-Class': "${pluginClass}",
'Plugin-Id': "${pluginId}",
- 'Plugin-Version': "${version}",
+ 'Plugin-Version': "${archiveVersion}",
'Plugin-Provider': "${pluginProvider}"
}
}
task plugin(type: Jar) {
- baseName = "plugin-${pluginId}"
+ archiveBaseName = "plugin-${pluginId}"
into('classes') {
with jar
}
into('lib') {
from configurations.compile
}
- extension('zip')
+ archiveExtension ='zip'
}
task assemblePlugin(type: Copy) {