cjstehno / gradle-natives

Gradle plugin to aid in managing native libraries associated with Java-based projects.
http://cjstehno.github.io/gradle-natives/
Apache License 2.0
32 stars 4 forks source link

Tests should run after unpack in build #4

Open cjstehno opened 10 years ago

cjstehno commented 10 years ago

In my usage of the plugin I found that it has issues when libraries are used in tests - it seems that it runs after the tests. Need to configure unpackNatives to run before test.

The workaround is simply to build without tests:

gradle clean build unpackNatives -x test

and then run the tests

gradle test

but this is annoying.