mirror of https://github.com/cabaletta/baritone
fix proguard not seeing unsafe 2
This commit is contained in:
parent
75cd4600a0
commit
f7f0c84407
|
@ -225,6 +225,7 @@ public class ProguardTask extends BaritoneGradleTask {
|
||||||
|
|
||||||
template.add(2, "-libraryjars <java.home>/jmods/java.base.jmod(!**.jar;!module-info.class)");
|
template.add(2, "-libraryjars <java.home>/jmods/java.base.jmod(!**.jar;!module-info.class)");
|
||||||
template.add(3, "-libraryjars <java.home>/jmods/java.desktop.jmod(!**.jar;!module-info.class)");
|
template.add(3, "-libraryjars <java.home>/jmods/java.desktop.jmod(!**.jar;!module-info.class)");
|
||||||
|
template.add(4, "-libraryjars <java.home>/jmods/jdk.unsupported.jmod(!**.jar;!module-info.class)");
|
||||||
|
|
||||||
{
|
{
|
||||||
final Stream<File> libraries;
|
final Stream<File> libraries;
|
||||||
|
|
|
@ -340,6 +340,3 @@
|
||||||
public java.lang.String substring(int);
|
public java.lang.String substring(int);
|
||||||
public java.lang.String substring(int,int);
|
public java.lang.String substring(int,int);
|
||||||
}
|
}
|
||||||
|
|
||||||
-keep class sun.misc.Unsafe { *; }
|
|
||||||
-dontnote sun.misc.Unsafe
|
|
Loading…
Reference in New Issue