From 5473216483cd6784414935629373b3436fbcecd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lomig=20M=C3=A9gard?= Date: Mon, 30 Jun 2025 13:43:36 +0200 Subject: [PATCH 1/2] Restore target java 1.8 Class file version 52 --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 9191e4d..508ddd4 100644 --- a/build.gradle +++ b/build.gradle @@ -34,7 +34,7 @@ version = project.ext.version mainClassName = "com.goterl.lazysodium.LazySodium" sourceCompatibility = JavaVersion.VERSION_21 -targetCompatibility = JavaVersion.VERSION_21 +targetCompatibility = JavaVersion.VERSION_1_8 sourceSets { main { @@ -258,4 +258,4 @@ tasks.withType(Test) { } } } -} \ No newline at end of file +} From 0f910d3f8a524febd921aa37ca37e1264682e8ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lomig=20M=C3=A9gard?= Date: Mon, 30 Jun 2025 13:48:05 +0200 Subject: [PATCH 2/2] Source must also be 1.8 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 508ddd4..6543ac3 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ group project.ext.groupId version = project.ext.version mainClassName = "com.goterl.lazysodium.LazySodium" -sourceCompatibility = JavaVersion.VERSION_21 +sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 sourceSets {