[rest-gradle-plugin] 33/83: Update installation methods
Alastair McKinstry
mckinstry at moszumanska.debian.org
Wed Oct 25 15:59:04 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 cdffa6f9ae34a2877fbf62e2d47f1bc712cb8e0e
Author: Noam Y. Tenne <noam at 10ne.org>
Date: Sun Aug 10 16:42:33 2014 +0300
Update installation methods
---
README.asciidoc | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/README.asciidoc b/README.asciidoc
index 3181ff0..b9416aa 100644
--- a/README.asciidoc
+++ b/README.asciidoc
@@ -4,24 +4,41 @@
=== Installation ===
-The plugin can be installed using the following snippet
+The plugin can be installed using the following snippets
+
+==== Gradle 1.x ====
[source,groovy]
----
buildscript {
repositories {
- maven { url 'http://dl.bintray.com/content/noamt/gradle-plugins' }
jcenter()
}
dependencies {
- classpath 'org._10ne.gradle:rest-gradle-plugin:0.1'
+ classpath 'org._10ne.gradle:rest-gradle-plugin:0.3'
}
}
apply plugin: 'rest'
----
+==== Gradle 2.x ====
+
+[source,groovy]
+----
+buildscript {
+ repositories {
+ jcenter()
+ }
+
+ dependencies {
+ classpath 'org._10ne.gradle:rest-gradle-plugin:0.3'
+ }
+}
+
+apply plugin: 'org.10ne.rest'
+----
=== Usage ===
The plugin adds a new task named `rest`. This task exposes the following properties::
@@ -46,4 +63,4 @@ task attack(type: org._10ne.gradle.rest.RestTask) {
contentType = groovyx.net.http.ContentType.JSON
requestHeaders = [customHeader: 'WoW']
}
-----
\ No newline at end of file
+----
--
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