Browse Source

Fix com.jetbrains.JBR: can't find referenced method (#5316)

After https://github.com/JetBrains/compose-multiplatform-core/pull/2097
is merged, CI fails with:
```
Warning: com.jetbrains.JBR: can't find referenced method 'java.lang.Object invokeExact(java.lang.Class,java.lang.Class,java.lang.Class,java.lang.Class,java.util.Map,java.util.function.Function)' in library class java.lang.invoke.MethodHandle
Warning: com.jetbrains.JBR: can't find referenced method 'java.lang.Object invokeExact(java.lang.invoke.MethodHandles$Lookup)' in library class java.lang.invoke.MethodHandle
<============-> 96% EXECUTING [3s]                                           Warning: there were 2 unresolved references to library class members.aseJars
         You probably need to update the library versions.-crash-in-the-field
         (https://www.guardsquare.com/proguard/manual/troubleshooting#unresolvedlibraryclassmember)
Unexpected error
java.io.IOException: Please correct the above warnings first.
```

During Gradle tests.

## Testing
Tests for Gradle plugin pass

## Release Notes
### Fixes - Desktop
N/A
pull/5318/head v1.9.0+dev2458
Igor Demin 7 months ago committed by GitHub
parent
commit
a5fa04fb83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      gradle-plugins/compose/src/main/resources/default-compose-desktop-rules.pro

4
gradle-plugins/compose/src/main/resources/default-compose-desktop-rules.pro

@ -107,3 +107,7 @@ @@ -107,3 +107,7 @@
-keep class **$$serializer {
*;
}
# org.jetbrains.runtime:jbr-api
-dontwarn com.jetbrains.JBR**
-dontnote com.jetbrains.JBR**

Loading…
Cancel
Save