mirror of
https://github.com/corda/corda.git
synced 2025-01-14 16:59:52 +00:00
Update Gradle for verify-enclave project. (#30)
This commit is contained in:
parent
4e761ebd2e
commit
e075e52377
@ -57,13 +57,13 @@ jar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
task integrationTest(type: Test) {
|
task integrationTest(type: Test) {
|
||||||
testClassesDir = sourceSets.integrationTest.output.classesDir
|
testClassesDirs = sourceSets.integrationTest.output.classesDirs
|
||||||
classpath = sourceSets.integrationTest.runtimeClasspath
|
classpath = sourceSets.integrationTest.runtimeClasspath
|
||||||
jvmArgs '-Djava.library.path=../sgx-jvm/jvm-enclave/jni/build'
|
jvmArgs '-Djava.library.path=../sgx-jvm/jvm-enclave/jni/build'
|
||||||
}
|
}
|
||||||
|
|
||||||
task generateNativeSgxHeaders(type: Exec) {
|
task generateNativeSgxHeaders(type: Exec) {
|
||||||
def classpath = sourceSets.main.output.classesDir
|
def classpath = sourceSets.main.output.classesDirs.asPath
|
||||||
commandLine "javah", "-o", "build/native/include/jni_sgx_api.h", "-cp", classpath, "com.r3.enclaves.txverify.NativeSgxApi"
|
commandLine "javah", "-o", "build/native/include/jni_sgx_api.h", "-cp", classpath, "com.r3.enclaves.txverify.NativeSgxApi"
|
||||||
dependsOn classes
|
dependsOn classes
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user