mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Add proguard rules for issues example (#2703)
This commit is contained in:
@@ -34,5 +34,11 @@ compose.desktop {
|
||||
upgradeUuid = "6565BEAD-713A-4DE7-A469-6B10FC4A6861"
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes.release {
|
||||
proguard {
|
||||
configurationFiles.from(project.file("compose-desktop.pro"))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
16
examples/issues/desktop/compose-desktop.pro
Normal file
16
examples/issues/desktop/compose-desktop.pro
Normal file
@@ -0,0 +1,16 @@
|
||||
# JSR 305 annotations are for embedding nullability information.
|
||||
-dontwarn javax.annotation.**
|
||||
|
||||
# A resource is loaded with a relative path so the package of this class must be preserved.
|
||||
-adaptresourcefilenames okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz
|
||||
|
||||
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
|
||||
-dontwarn org.codehaus.mojo.animal_sniffer.*
|
||||
|
||||
# OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
|
||||
-dontwarn okhttp3.internal.platform.**
|
||||
-dontwarn org.conscrypt.**
|
||||
-dontwarn org.bouncycastle.**
|
||||
-dontwarn org.openjsse.**
|
||||
|
||||
-keep class org.ocpsoft.prettytime.i18n**
|
||||
Reference in New Issue
Block a user