Skip to content

Commit

Permalink
Merge pull request #9 from jonnyzzz/patch-1
Browse files Browse the repository at this point in the history
Include plugins.gradle.org setup snippet
  • Loading branch information
zhangkun83 committed Dec 15, 2016
2 parents f168a82 + b94fd0f commit f08c2e8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@ The latest version ``1.4.0`` is available on Maven Central.
Its output is identical to ``os-maven-plugin:1.4.0.Final``.

## Usage
To use this plugin, include in your build script:
To use this plugin, include in your build script

###For Gradle 2.1 and higher:
```groovy
plugins {
id "com.google.osdetector" version "1.4.0"
}
```

###For Gradle 1.x and 2.0:
```groovy
apply plugin: 'com.google.osdetector'
Expand Down

0 comments on commit f08c2e8

Please sign in to comment.