-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use Java Toolchains to use JDK 22 for compile/test * Remove `--enable-preview` * Use JDK 21 for -api and -bouncy modules (we're using a JDK 21 feature in API currently, we need to backport this to en earlier JDK version) * Use JDK 21 temporarily for Kotlin examples (until Kotlin supports JDK 22) * Use BouncySecp256k1 in the Kotlin examples (which means they won't run until Bouncy is finished) but they will at least compile. * Update the extract-headers.sh script to work with JDK 22 and the latest jextract * Update OpaqueKeyPair and Secp256k1Foreign to use the JDK 22 FFM API * Replace the `o.b.s.f.jextract` Java files with the files generated by the latest jextract.
- Loading branch information
1 parent
0e766f1
commit f46cc07
Showing
45 changed files
with
3,292 additions
and
1,756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
secp256k1Version = 0.0.1 | ||
secp256k1Version = 0.0.1 | ||
|
||
# Major (whole number) version of JDK to use for javac, jlink, jpackage, etc. | ||
javaToolchainVersion = 22 | ||
# Vendor for javaToolChain. (Should be indicator string from Gradle's KnownJvmVendor enum or empty string) | ||
# Official builds use 'Eclipse Adoptium' | ||
#javaToolchainVendor = Eclipse Adoptium | ||
javaToolchainVendor = | ||
|
||
# Where to look for JDKs (via environment variables) | ||
org.gradle.java.installations.fromEnv = JAVA_HOME, JDK22 | ||
|
||
# Auto-detection can be disabled if you have multiple JDKs of the | ||
# same version installed and Gradle won't reliably select the version you actually want | ||
org.gradle.java.installations.auto-detect = true | ||
|
||
# auto-download should generally be disabled and is definitely annoying if you are using | ||
# JDK early access versions and Gradle just reports errors when trying to download them. | ||
org.gradle.java.installations.auto-download = false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.