Skip to content

Commit

Permalink
Adding placeholder for configuring gradle plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmittler committed Sep 11, 2015
1 parent 40c4559 commit 5465ca1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ In Maven, you can use the [os-maven-plugin](https://github.com/trustin/os-maven-

Gradle you can use the [osdetector-gradle-plugin](https://github.com/google/osdetector-gradle-plugin), which is a wrapper around the os-maven-plugin.

```
```gradle
buildscript {
repositories {
mavenCentral()
Expand All @@ -103,14 +103,10 @@ repositories {
mavenLocal()
}
// Use the appropriate artifact for Fedora vs non-Fedora.
def netty_tcnative = 'io.netty:netty-tcnative:1.1.33.Fork6:' + osdetector.classifier
if (osdetector.os == "linux" && osdetector.release.isLike("fedora")) {
netty_tcnative += "-fedora";
}
// TODO(nmittler): configure the osdetector plugin to add "-fedora" to the classifier.
dependencies {
compile netty_tcnative
compile 'io.netty:netty-tcnative:1.1.33.Fork6:' + osdetector.classifier
}
```

Expand Down

0 comments on commit 5465ca1

Please sign in to comment.