[rest-gradle-plugin] 61/83: Adding the Gradle publish plugin
Alastair McKinstry
mckinstry at moszumanska.debian.org
Wed Oct 25 15:59:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch debian/master
in repository rest-gradle-plugin.
commit 04640c7d94d496489b38e10f74a9a1807024c270
Author: noamt <noam at 10ne.org>
Date: Wed Jan 27 11:44:11 2016 +0200
Adding the Gradle publish plugin
---
build.gradle | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/build.gradle b/build.gradle
index de29e6b..2d42d4b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -17,9 +17,13 @@
buildscript {
repositories {
jcenter()
+ maven {
+ url 'https://plugins.gradle.org/m2/'
+ }
}
dependencies {
classpath(group: 'org.jfrog.buildinfo', name: 'build-info-extractor-gradle', version: '3.0.1')
+ classpath 'com.gradle.publish:plugin-publish-plugin:0.9.3'
}
}
@@ -29,6 +33,7 @@ apply plugin: 'com.jfrog.artifactory'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'project-reports'
+apply plugin: 'com.gradle.plugin-publish'
group = 'org._10ne.gradle'
@@ -108,4 +113,25 @@ publishing {
artifactoryPublish {
publications(publishing.publications.mainPub)
-}
\ No newline at end of file
+}
+
+pluginBundle {
+ website = 'http://www.10ne.org/'
+ vcsUrl = 'https://github.com/noamt/rest-gradle-plugin.git'
+ description = 'A Gradle plugin that provides a task infrastructure to perform REST requests.'
+
+ plugins {
+ restPlugin {
+ id = 'org.samples.greeting'
+ displayName = 'Gradle Greeting plugin'
+ tags = ['REST', 'API']
+ version = '0.4.0'
+ }
+ }
+
+ mavenCoordinates {
+ groupId = "org._10ne.gradle"
+ artifactId = "rest-gradle-plugin"
+ version = '0.4.0'
+ }
+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/rest-gradle-plugin.git
More information about the pkg-java-commits
mailing list