1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2026-05-16 18:32:11 +00:00

Setup publishing proguard rules for the android library

This would allow us to declare compose related proguard rules for Android
in this module

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2026-05-07 22:11:46 +08:00
parent ea4d1c4724
commit 8523aa48ba
2 changed files with 13 additions and 0 deletions
+7
View File
@@ -43,6 +43,13 @@ kotlin {
enable = true
}
optimization {
consumerKeepRules.apply {
publish = true
file("consumer-proguard-rules.pro")
}
}
withHostTest {
isIncludeAndroidResources = true
}
+6
View File
@@ -0,0 +1,6 @@
#
# SPDX-FileCopyrightText: 2026 NewPipe e.V. <https://newpipe-ev.de>
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Proguard rules for Android platform: https://developer.android.com/build/shrink-code