Skip to content

Commit e2ad48a

Browse files
committed
Add consumer proguard rules
1 parent 2326592 commit e2ad48a

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

firebase-vertexai/firebase-vertexai.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ android {
4242
defaultConfig {
4343
minSdk = 21
4444
targetSdk = 34
45+
consumerProguardFiles("consumer-rules.pro")
4546
multiDexEnabled = true
4647
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
4748
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
22+
23+
-keep class com.google.firebase.vertexai.common.** { *; }

0 commit comments

Comments
 (0)