James Hamilton

Results 14 issues of James Hamilton

- Update ProGuardCORE dependency to 9.0.3 - Replace duplicated test utils with ProGuardCORE test fixtures

Currently, the [Gradle plugin](https://github.com/Guardsquare/proguard/blob/master/gradle-plugin/src/proguard/gradle/ProGuardPlugin.groovy) can only be used in Android. For non-Android projects, if you try to apply the plugin you will get an error. For Java projects, you must...

enhancement
gradle-plugin

Processing the Now in Android app with 5 optimization passes results in the following error: ``` > Unexpected error while writing class [com/google/samples/apps/nowinandroid/core/network/fake/FakeDataSource] (Overflow of unsigned short value [144603]) ```...

confirmed
optimization

Running ProGuard 7.2.2 on the Now In Android sample results in the following optimization error: ``` Unexpected error while evaluating instruction: Class = [androidx/cardview/R] Method = [(JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ)V] Instruction = [81]...

confirmed
optimization

`-keepkotlinmetadata` actually does more than keeping Kotlin metadata. We could split this into multiple options to give more control and possibly to be able to apply non-metadata behaviour without keeping...

enhancement
kotlin-support

Originally reported on [SourceForge](https://sourceforge.net/p/proguard/bugs/763/), confirmed to be still a problem in ProGuard 7.0.1 ## From SourceForge issue With ProGuard 6.1.1 and JDK 11, a proguard output jar has a `module-info.class`...

bug
confirmed
java
obfuscation

# Pull Request Details This is a first attempt at porting the ProGuard support from Compose Desktop Gradle Plugin to the IntelliJ Gradle Plugin. ## Description Recently, ProGuard support was...

enhancement

Adds specific support for the Kotlin generated `values()` method to prevent a `VerifyError`. See comment [here](https://github.com/Guardsquare/proguard/issues/349#issuecomment-1652055220) for detailed description.