From afd2d76b2893cdc6bfc20b0fd437522789f9b915 Mon Sep 17 00:00:00 2001 From: "niccolo.piazzesi" Date: Sun, 15 Mar 2026 20:56:16 +0100 Subject: [PATCH] Upgrade pgcore and prepare release for java 26 support --- README.md | 2 +- docs/md/manual/FAQ.md | 4 ++-- docs/md/manual/home.md | 2 +- docs/md/manual/releasenotes.md | 4 ++++ examples/application-kotlin/build.gradle | 2 +- examples/application/build.gradle | 4 ++-- examples/spring-boot/build.gradle | 2 +- gradle/libs.versions.toml | 2 +- 8 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index aea5cbfc..361915a6 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.guardsquare:proguard-gradle:7.8.2' + classpath 'com.guardsquare:proguard-gradle:7.9.0' } } ``` diff --git a/docs/md/manual/FAQ.md b/docs/md/manual/FAQ.md index 5eaba236..3d43182e 100644 --- a/docs/md/manual/FAQ.md +++ b/docs/md/manual/FAQ.md @@ -68,9 +68,9 @@ Yes, you can. **ProGuard** itself is distributed under the GPL, but this doesn't affect the programs that you process. Your code remains yours, and its license can remain the same. -## Does ProGuard work with Java 2, 5,..., 25? {: #jdk1.4} +## Does ProGuard work with Java 2, 5,..., 26? {: #jdk1.4} -Yes, **ProGuard** supports all JDKs from 1.1 up to and including 25. Java 2 +Yes, **ProGuard** supports all JDKs from 1.1 up to and including 26. Java 2 introduced some small differences in the class file format. Java 5 added attributes for generics and for annotations. Java 6 introduced optional preverification attributes. Java 7 made preverification obligatory and diff --git a/docs/md/manual/home.md b/docs/md/manual/home.md index 4dd395a7..cd0f87fe 100644 --- a/docs/md/manual/home.md +++ b/docs/md/manual/home.md @@ -1,4 +1,4 @@ -Welcome to the manual for **ProGuard** version 7.8.2 ([what's new?](releasenotes.md)). +Welcome to the manual for **ProGuard** version 7.9.0 ([what's new?](releasenotes.md)). ProGuard is an open-sourced Java class file shrinker, optimizer, obfuscator, and preverifier. As a result, ProGuard processed applications and libraries are smaller and faster. diff --git a/docs/md/manual/releasenotes.md b/docs/md/manual/releasenotes.md index 5b13629b..2c5df577 100644 --- a/docs/md/manual/releasenotes.md +++ b/docs/md/manual/releasenotes.md @@ -4,6 +4,10 @@ - Add support for Kotlin 2.3. +### Java support + +- Add support for Java 26. + ## Version 7.8.2 ### Bugfixes diff --git a/examples/application-kotlin/build.gradle b/examples/application-kotlin/build.gradle index c0cf656b..7f7a94ce 100644 --- a/examples/application-kotlin/build.gradle +++ b/examples/application-kotlin/build.gradle @@ -7,7 +7,7 @@ buildscript { google() } dependencies { - classpath 'com.guardsquare:proguard-gradle:7.8.2' + classpath 'com.guardsquare:proguard-gradle:7.9.0' } } diff --git a/examples/application/build.gradle b/examples/application/build.gradle index 143abbab..2ff72f28 100644 --- a/examples/application/build.gradle +++ b/examples/application/build.gradle @@ -7,7 +7,7 @@ buildscript { google() } dependencies { - classpath 'com.guardsquare:proguard-gradle:7.8.2' + classpath 'com.guardsquare:proguard-gradle:7.9.0' } } @@ -35,7 +35,7 @@ ext.baseCoordinates = "${project.name}-${project.version}" java { toolchain { - languageVersion = JavaLanguageVersion.of(22) + languageVersion = JavaLanguageVersion.of(8) } } diff --git a/examples/spring-boot/build.gradle b/examples/spring-boot/build.gradle index 4c42503a..e9ca9edc 100644 --- a/examples/spring-boot/build.gradle +++ b/examples/spring-boot/build.gradle @@ -7,7 +7,7 @@ buildscript { google() } dependencies { - classpath 'com.guardsquare:proguard-gradle:7.8.2' + classpath 'com.guardsquare:proguard-gradle:7.9.0' } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index c0a220dd..432188e7 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -9,7 +9,7 @@ kotest = "6.1.4" kotlin = "2.2.0" log4j = "2.25.3" mockk = "1.13.13" -proguardCore = "9.3.1" +proguardCore = "9.3.2" kotlin-compile-testing = "0.8.0" [libraries]