---
title: ProGuard 6.1 released | Guardsquare
description: ProGuard 6.1 supports Java versions 10, 11, 12 and offers important enhancements, such as the optimization of Gson serialization.
image: https://23593082.hs-sites.com/hubfs/Imported_Blog_Media/proguard-6_1-release--Apr-16-2021-06-34-02-50-PM-2.jpg
---

[![guardsquare-logo](https://insights.guardsquare.com/hs-fs/hubfs/Logos/logo-white.png?length=536&name=logo-white.png "guardsquare-logo") ](https://23593082.hs-sites.com/)

- pricing

[Request Pricing](https://www.guardsquare.com/request-pricing?hsCtaTracking=646b0379-d596-4b1a-8526-2ccbdbb0f81b%7Ce8809087-a83f-4476-8b22-34b9572013fd)

[Login](https://customers.guardsquare.com/login?utm_referrer=https%3A%2F%2Fwww.guardsquare.com%2F)

En

- [中文](https://www.guardsquare.com/zh-hans)
- [한국어](https://www.guardsquare.com/ko)
- [Português](https://www.guardsquare.com/pt-br)
- [Español](https://www.guardsquare.com/es)

<https://twitter.com/intent/tweet?original_referer=https://23593082.hs-sites.com/amilia-test/blog/proguard-61-released&url=https://23593082.hs-sites.com/amilia-test/blog/proguard-61-released&source=tweetbutton> <http://www.linkedin.com/shareArticle?mini=true&url=https://23593082.hs-sites.com/amilia-test/blog/proguard-61-released> <http://www.facebook.com/share.php?u=https://23593082.hs-sites.com/amilia-test/blog/proguard-61-released> [mailto:?subject=Check%20out%20https://23593082.hs-sites.com/amilia-test/blog/proguard-61-released](mailto:?subject=Check%20out%20https://23593082.hs-sites.com/amilia-test/blog/proguard-61-released)

May 6, 2019

# ProGuard 6.1 released

Written by: Guardsquare

![](https://23593082.hs-sites.com/hubfs/Imported_Blog_Media/proguard-6_1-release--Apr-16-2021-06-34-02-50-PM-2.jpg)

After much development and testing, we are pleased to announce the official release of ProGuard 6.1.0.

This version offers bug fixes and the following important features:

- **Added support for Java 10, 11 and 12. **ProGuard now processes the new constructs for nest access and dynamic constants.
- **Backporting code that uses Java 8 stream and time API. **ProGuard can now automatically convert calls to these Java 8 APIs, by adding the net.sourceforge.streamsupport library and the org.threeten library as dependencies in your project. This is particulary useful on Android, since it does not have these APIs.
- **Optimization of Gson serialization. **Gson is a convenient and widely used library to serialize and deserialize classes to and from JSON strings. ProGuard can now optimize its inefficient reflection into more compact and efficient direct code.
- **Added `-assumevalues` option **(compatible with R8). You can now tell ProGuard that specified fields or methods have known return values. ProGuard then optimizes the related code. For example, you can let it remove debug code by specifying that a debug flag is known to be false, or you can let it remove unneeded parts of the Android support libraries by specifying the expected range of Android API versions.

As always, [ProGuard](https://23593082.hs-sites.com/proguard) (6.1.0) is backward compatible with earlier versions. Just update the version and you're good to go. You can find ProGuard on [Sourceforge](https://sourceforge.net/projects/proguard/files/), [Github](https://github.com/Guardsquare/proguard), [Maven Central](https://search.maven.org/search?q=g:net.sf.proguard), and [JCenter](https://bintray.com/guardsquare/proguard). All ProGuard documentation is available [here](https://23593082.hs-sites.com/manual/quickstart).

*Note: Remember to disable the R8 compiler and enable ProGuard in the project’s gradle.properties, when building Android projects with Gradle:*

```
android.enableR8=false
android.enableR8.libraries=false
```

*Then specify the ProGuard version in your build.gradle configuration:*

```
buildscript {
    ...
    configurations.all {
        resolutionStrategy {
            force 'net.sf.proguard:proguard-base:6.1.0'
        }
    }
}
```

Tag(s): [Android](https://23593082.hs-sites.com/amilia-test/tag/android) , [Product Launch](https://23593082.hs-sites.com/amilia-test/tag/product-launch) , [ProGuard & R8](https://23593082.hs-sites.com/amilia-test/tag/proguard-r8)

## [Guardsquare](https://23593082.hs-sites.com/amilia-test/author/guardsquare)

Connect with the author

## Discover how Guardsquare provides industry-leading protection for mobile apps.

## Other posts you might be interested in

[

** 11 min read  | August 22, 2023

## Webinar Recap: Accessibility Features and Overlays on Android

Android Protection Security Research 

](https://23593082.hs-sites.com/amilia-test/blog/app-permissions-abuse) [

** 7 min read  | August 15, 2023

## What is RASP and Why It Matters to Mobile App Developers

Android iOS Protection DexGuard iXGuard 

](https://23593082.hs-sites.com/amilia-test/blog/rasp-dynamic-analysis)

## Subscribe to our newsletter

Stay in the know with monthly updates right to your inbox.

![HubSpot CMS](https://cdn2.hubspot.net/hubfs/302335/hubspot-cms-logo-gray.svg "HubSpot CMS")

[General Terms](https://23593082.hs-sites.com/terms-of-use) | [Privacy Policy](https://23593082.hs-sites.com/privacy-policy) | [Cookie Policy](https://23593082.hs-sites.com/cookie-policy)

Tervuursevest 362 bus 1, 3000 Leuven, Belgium | VAT: BE0550675829 |

© 2016-2026 Guardsquare nv. All rights reserved.

<https://www.facebook.com/guardsquare> <https://twitter.com/Guardsquare> <https://www.linkedin.com/company/guardsquare/> <https://www.youtube.com/channel/UCP9s5F1ksT1E-7vSF2CDyhw> <https://github.com/Guardsquare>

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Guardsquare",
    "url" : "https://23593082.hs-sites.com/amilia-test/author/guardsquare"
  },
  "dateModified" : "2023-09-19T17:57:26.256Z",
  "datePublished" : "2019-05-06T04:00:00.000Z",
  "headline" : "ProGuard 6.1 released | Guardsquare",
  "image" : [ "https://23593082.hs-sites.com/hubfs/Imported_Blog_Media/proguard-6_1-release--Apr-16-2021-06-34-02-50-PM-2.jpg" ],
  "mainEntityOfPage" : {
    "@id" : "https://23593082.hs-sites.com/amilia-test/blog/proguard-61-released",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject"
    }
  }
}
```