Skip to content

Commit 4247922

Browse files
committed
build.gradle: make default options.release = 25
1 parent 243b554 commit 4247922

File tree

4 files changed

+5
-15
lines changed

4 files changed

+5
-15
lines changed

README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ For details see the https://msgilligan.github.io/javadoc/secp256k1-jdk/0.2[Javad
2626

2727
NOTE:: At this point, we are especially interested in feedback on the API.
2828

29-
== libsecp256k1 FFM ("Panama") Implementation (JDK 24+)
29+
== libsecp256k1 FFM ("Panama") Implementation (JDK 25+)
3030

31-
The provided proof-of-concept implementation uses the https://github.com/bitcoin-core/secp256k1[bitcoin-core/secp256k1] C-language library via https://openjdk.org/jeps/454[JEP-454: Foreign Function & Memory API] (known as **Panama**.) It is provided in a separate JAR (```secp-ffm-_version_.jar```) that requires JDK 24 or later.
31+
The provided implementation uses the https://github.com/bitcoin-core/secp256k1[bitcoin-core/secp256k1] C-language library via https://openjdk.org/jeps/454[JEP-454: Foreign Function & Memory API] (known as **Panama**.) It is provided in a separate JAR (```secp-ffm-_version_.jar```) that requires JDK 25 or later.
3232

3333
Panama was released as part of https://openjdk.org/projects/jdk/22/[OpenJDK 22]. We anticipate `secp-ffm` will be
3434
the recommended/preferred `secp-api` implementation for use in projects using modern JVMs.
3535

36-
The minimum required JDK for the `secp-ffm` module will be increased to JDK 25 (the first LTS release with FFM included) before the 1.0 release of `secp256k1-jdk`.
36+
The minimum required JDK for the `secp-ffm` module is JDK 25 (the first LTS release with FFM included.)
3737

3838
WARNING:: This is a preliminary implementation provided for experimentation and feedback and should not be used in real applications.
3939

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ subprojects { sub ->
4747
}
4848

4949
tasks.withType(JavaCompile).configureEach {
50-
// Default release version, secp-api and secp-bouncy override this to set an earlier release.
51-
options.release = 24
50+
// Default target JDK version, secp-api and secp-bouncy override this to set an earlier release.
51+
options.release = 25
5252
}
5353
}
5454

secp-examples-java/build.gradle

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ dependencies {
1212
runtimeOnly project(':secp-ffm')
1313
}
1414

15-
tasks.withType(JavaCompile).configureEach {
16-
// Override Default release version
17-
options.release = 25
18-
}
19-
2015
jar {
2116
inputs.property("moduleName", moduleName)
2217
manifest {

secp-examples-kotlin/build.gradle

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ dependencies {
1111
runtimeOnly project(':secp-ffm')
1212
}
1313

14-
tasks.withType(JavaCompile).configureEach {
15-
// Override Default release version
16-
options.release = 25
17-
}
18-
1914
kotlin {
2015
jvmToolchain(javaToolchainVersion as int)
2116
compilerOptions.jvmTarget = JvmTarget.JVM_25

0 commit comments

Comments
 (0)