Skip to content

Commit

Permalink
Add solution for running tests with netty-tcnative (boringssl)
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Apr 7, 2018
1 parent 6d146f6 commit de1dc6a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ ext {

// Testing
mockitoVersion = '1.10.19'
nettyTcNativeVersion = '2.0.8.Final'
useTcNative = project.hasProperty('useTcNative')

javadocLinks = ["http://docs.oracle.com/javase/7/docs/api/",
"http://docs.oracle.com/javaee/6/api/",
Expand Down Expand Up @@ -228,6 +230,10 @@ configure(rootProject) { project ->
testCompile "org.hamcrest:hamcrest-library:1.3",
"org.assertj:assertj-core:$assertJVersion",
"org.testng:testng:6.8.5"

if (useTcNative) {
testRuntime "io.netty:netty-tcnative-boringssl-static:${nettyTcNativeVersion}"
}
}


Expand Down

0 comments on commit de1dc6a

Please sign in to comment.