Update the README to reflect recent changes in the API

This commit is contained in:
R. Tyler Croy 2015-07-08 17:32:39 -07:00
parent 00db6d3a00
commit 497b7b26f1
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 5 additions and 22 deletions

View File

@ -24,7 +24,7 @@ This plugin will include the appropriate versions of the following plugins:
```gradle
plugins {
id "com.github.lookout.service-artifact" version "0.1.10"
id "com.github.lookout.service-artifact" version "0.4.0"
}
/* serviceVersion is a helper method which will add SNAPSHOT when appropriate,
@ -50,7 +50,9 @@ group = 'com.github.lookout'
*/
service {
jruby {
name "amazingserv"
component("app", type: JRuby) {
/* Include these directories into the service jar.
*
* By default everything in src/main/ruby will be included
@ -58,15 +60,6 @@ service {
include 'backend', 'lib'
mainScript 'backend/main'
}
/* scripts inside of bin/ will override the defaults,
* but this closure can be used to source additional scripts
*
* NOTE: NOT YET IMPLEMENTED
*/
scripts {
include 'examples/bin'
}
}
dependencies {
@ -81,26 +74,16 @@ dependencies {
#### Build
* serviceTarGz
* serviceZip
* serviceJar
* assemble
* **assemble** prepare all the service artifacts
#### Test
* (JRuby) spec
* (JRuby) cucumber
* check
#### Publish
* publish
#### Internal-ish
* prepareServiceScripts - empty by default, can be used to set up build logic to generate service scripts
* prepareServiceJar - largely empty right now, just a standard dependency to chain builder tasks like `shadowJar` for jruby-gradle-jar plugin off of.
#### Documentation
* docs