diff --git a/src/main/groovy/org/fidata/gradle/GradlePluginPlugin.groovy b/src/main/groovy/org/fidata/gradle/GradlePluginPlugin.groovy index fbcdcd89..92505301 100644 --- a/src/main/groovy/org/fidata/gradle/GradlePluginPlugin.groovy +++ b/src/main/groovy/org/fidata/gradle/GradlePluginPlugin.groovy @@ -93,9 +93,10 @@ final class GradlePluginPlugin extends AbstractPlugin implements PropertyChangeL project.pluginManager.apply 'com.gradle.plugin-publish' project.extensions.configure(PluginBundleExtension) { PluginBundleExtension extension -> extension.with { + description = project.version.toString() == '1.0.0' ? project.description : projectConvention.changeLogTxt.get().toString() + tags = (Collection)projectConvention.tags.get() website = projectConvention.websiteUrl.get() vcsUrl = projectConvention.vcsUrl.get() - description = projectConvention.changeLog.get().toString() } } project.tasks.named(/* WORKAROUND: PublishPlugin.BASE_TASK_NAME has private scope */ 'publishPlugins').configure { Task publishPlugins ->