jme3-bullet-native: copyBinaryToLibs to depend on building native lib
This commit is contained in:
parent
15ec285b1a
commit
25da36e590
@ -175,7 +175,7 @@ binaries.withType(SharedLibraryBinary) { binary ->
|
|||||||
// Add depend on build
|
// Add depend on build
|
||||||
jar.dependsOn builderTask
|
jar.dependsOn builderTask
|
||||||
// Add output to libs folder
|
// Add output to libs folder
|
||||||
task "copyBinaryToLibs${targetPlatform}"(type: Copy) {
|
task "copyBinaryToLibs${targetPlatform}"(type: Copy, dependsOn: builderTask) {
|
||||||
from builderTask.outputFile
|
from builderTask.outputFile
|
||||||
into "libs/native/${targetPlatform.operatingSystem.name}/${targetPlatform.architecture.name}"
|
into "libs/native/${targetPlatform.operatingSystem.name}/${targetPlatform.architecture.name}"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user