Skip to content

Commit

Permalink
update proguardFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
lz233 committed Apr 7, 2024
1 parent 3536ae6 commit c32dbcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ android {
minSdk = 28
targetSdk = 34
versionCode = SimpleDateFormat("yyyyMMdd", Locale.getDefault()).format(Date()).toInt()
versionName = "1.0"
versionName = "1.0.1"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -27,7 +27,8 @@ android {
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
"proguard-rules.pro",
"../ocui/proguard-rules.pro"
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion ocui/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-renamesourcefileattribute SourceFile
-keep class com.oculus.** { *; }

0 comments on commit c32dbcd

Please sign in to comment.