xref: /aosp_15_r20/external/accompanist/web/proguard-rules.pro (revision fa44fe6ae8e729aa3cfe5c03eedbbf98fb44e2c6)
1*fa44fe6aSInna Palant# Add project specific ProGuard rules here.
2*fa44fe6aSInna Palant# You can control the set of applied configuration files using the
3*fa44fe6aSInna Palant# proguardFiles setting in build.gradle.kts.
4*fa44fe6aSInna Palant#
5*fa44fe6aSInna Palant# For more details, see
6*fa44fe6aSInna Palant#   http://developer.android.com/guide/developing/tools/proguard.html
7*fa44fe6aSInna Palant
8*fa44fe6aSInna Palant# If your project uses WebView with JS, uncomment the following
9*fa44fe6aSInna Palant# and specify the fully qualified class name to the JavaScript interface
10*fa44fe6aSInna Palant# class:
11*fa44fe6aSInna Palant#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12*fa44fe6aSInna Palant#   public *;
13*fa44fe6aSInna Palant#}
14*fa44fe6aSInna Palant
15*fa44fe6aSInna Palant# Uncomment this to preserve the line number information for
16*fa44fe6aSInna Palant# debugging stack traces.
17*fa44fe6aSInna Palant#-keepattributes SourceFile,LineNumberTable
18*fa44fe6aSInna Palant
19*fa44fe6aSInna Palant# If you keep the line number information, uncomment this to
20*fa44fe6aSInna Palant# hide the original source file name.
21*fa44fe6aSInna Palant#-renamesourcefileattribute SourceFile