File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id ' java-library'
3+ id ' org.graalvm.buildtools.native' version ' 0.11.1'
34}
45
56ext. moduleName = ' org.bitcoinj.secp.integration'
@@ -8,6 +9,8 @@ dependencies {
89 implementation project(' :secp-api' )
910 implementation project(' :secp-bouncy' )
1011 implementation project(' :secp-ffm' )
12+
13+ testImplementation project(' :secp-graalvm' )
1114}
1215
1316jar {
2225test {
2326 jvmArgs + = ' --enable-native-access=ALL-UNNAMED'
2427}
28+
29+ graalvmNative {
30+ binaries {
31+ test {
32+ buildArgs. add(' --features=org.bitcoinj.secp.graalvmffm.ForeignRegistrationFeature' )
33+ buildArgs. add(' -H:+ForeignAPISupport' )
34+ buildArgs. add(' -H:+SharedArenaSupport' )
35+ buildArgs. add(' -H:-CheckToolchain' )
36+ buildArgs. add(" --initialize-at-build-time=org.junit.platform.commons.logging" )
37+ }
38+ }
39+ }
40+
You can’t perform that action at this time.
0 commit comments