Files
openide/platform/build-scripts/codeOptimizer/testResources/jsvg.conf
Leonid Shalupov 4166977093 IJI-2422 community/platform: housekeeping: move resources from source roots to resources roots
GitOrigin-RevId: a02691fcdee00a5588d22a1e2c081ce639a6140e
2025-01-31 23:17:43 +00:00

58 lines
1.9 KiB
Plaintext

-libraryjars <java.home>/jmods/java.base.jmod(!**.jar;!module-info.class)
-libraryjars <java.home>/jmods/java.desktop.jmod(!**.jar;!module-info.class)
-libraryjars <java.home>/jmods/java.logging.jmod(!**.jar;!module-info.class)
-libraryjars <java.home>/jmods/java.xml.jmod(!**.jar;!module-info.class)
-keep public class
com.github.weisj.jsvg.parser.ParsedElement,
com.github.weisj.jsvg.parser.NodeMap,
com.github.weisj.jsvg.parser.LoadHelper,
com.github.weisj.jsvg.parser.ResourceLoader,
com.github.weisj.jsvg.attributes.paint.PaintParser,
com.github.weisj.jsvg.nodes.Style,
com.github.weisj.jsvg.attributes.AttributeParser,
com.github.weisj.jsvg.parser.ValueUIFuture,
com.github.weisj.jsvg.parser.UIFuture,
com.github.weisj.jsvg.geometry.size.Length,
com.github.weisj.jsvg.parser.css.StyleSheet,
com.github.weisj.jsvg.parser.css.impl.SimpleCssParser,
com.github.weisj.jsvg.parser.css.CssParser
{
public *;
}
-keep class com.github.weisj.jsvg.nodes.SVGNode {
void addContent(char[]);
}
-keep class com.github.weisj.jsvg.util.ResourceUtil {
public static *** loadImage(***);
}
-keep class com.github.weisj.jsvg.nodes.SVG {
boolean isDataScaled();
*** getWidth();
*** getHeight();
void renderWithSize(float, float, float, java.awt.Graphics2D);
}
-keep class com.github.weisj.jsvg.geometry.size.MeasureContext,com.github.weisj.jsvg.attributes.paint.DefaultPaintParser,com.github.weisj.jsvg.parser.AttributeNode {
<init>(...);
}
-keep class com.github.weisj.jsvg.attributes.font.SVGFont {
static float defaultFontSize();
static float exFromEm(float);
}
-repackageclasses com.github.weisj.jsvg
-renamesourcefileattribute SourceFile
-keepattributes Signature,Exceptions,*Annotation*,
InnerClasses,PermittedSubclasses,EnclosingMethod,
Deprecated,SourceFile,LineNumberTable
-keepclassmembers enum * {
public *;
}
-dontwarn com.google.errorprone.**
-dontwarn org.jetbrains.annotations.**