diff --git a/build.gradle b/build.gradle index 57193eaa9..67d5dc0a2 100644 --- a/build.gradle +++ b/build.gradle @@ -34,26 +34,11 @@ import groovyx.net.http.ContentType plugins { id 'base' id 'maven-publish' - id 'com.gradle.plugin-publish' version '0.9.7' } apply plugin: 'com.jfrog.artifactory' apply plugin: RestPlugin -pluginBundle { - website = 'http://akhikhl.github.io/gretty-doc/' - vcsUrl = 'https://github.com/akhikhl/gretty' - description = 'Advanced gradle plugin for running web-apps on jetty and tomcat.' - - plugins { - gretty { - id = 'org.akhikhl.gretty' - displayName = 'Gretty plugin' - tags = [ 'gretty', 'jetty', 'gradle', 'plugin', 'spring', 'spring-boot' ] - } - } -} - ext { project_website = "https://github.com/${developerId}/${projectId}" project_scm = "scm:git@github.com:${developerId}/${projectId}.git" diff --git a/libs/gretty/build.gradle b/libs/gretty/build.gradle index 465142f3a..45f3db32d 100644 --- a/libs/gretty/build.gradle +++ b/libs/gretty/build.gradle @@ -1,3 +1,7 @@ +plugins { + id 'com.gradle.plugin-publish' version '0.9.7' +} + apply from: rootProject.file('common.gradle') dependencies { @@ -12,3 +16,17 @@ dependencies { compile "org.eclipse.jetty:jetty-util:$jetty8_version" compile gradleApi() } + +pluginBundle { + website = 'http://akhikhl.github.io/gretty-doc/' + vcsUrl = 'https://github.com/akhikhl/gretty' + description = 'Advanced gradle plugin for running web-apps on jetty and tomcat.' + + plugins { + gretty { + id = 'org.akhikhl.gretty' + displayName = 'Gretty plugin' + tags = [ 'gretty', 'jetty', 'gradle', 'plugin', 'spring', 'spring-boot' ] + } + } +}