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:
@@ -43,6 +43,13 @@ kotlin {
|
||||
enable = true
|
||||
}
|
||||
|
||||
optimization {
|
||||
consumerKeepRules.apply {
|
||||
publish = true
|
||||
file("consumer-proguard-rules.pro")
|
||||
}
|
||||
}
|
||||
|
||||
withHostTest {
|
||||
isIncludeAndroidResources = true
|
||||
}
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user