dautovicharis / Charts

πŸ“ˆ Charts made with Jetpack Compose – Multiplatform support: πŸ“±πŸŒπŸ’»
https://dautovicharis.github.io/Charts/2.0.0-SNAPSHOT/
MIT License
196 stars 13 forks source link

isMinifyEnabled = true results in build error "Missing classes detected while running R8." #143

Open MichiMei opened 1 month ago

MichiMei commented 1 month ago

Today I tried to do a internal test release, when trying to use "isMinifyEnabled = true" with your library linked and building a release I get the following error message

_Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in [...]\project-name\app\build\outputs\mapping\release\missingrules.txt.

The build works correctly, when I either remove the Charts dependency or switch isMinifyEnabled back to false, therefore I'm quite certain it is linked to your library.

Missing classes Missing class com.fasterxml.jackson.dataformat.xml.JacksonXmlModule (referenced from: void org.jetbrains.dokka.base.renderers.html.CustomResourceInstaller.(org.jetbrains.dokka.plugability.DokkaContext) and 3 other contexts) Missing class com.fasterxml.jackson.dataformat.xml.XmlMapper (referenced from: void org.jetbrains.dokka.base.renderers.html.CustomResourceInstaller.(org.jetbrains.dokka.plugability.DokkaContext) and 3 other contexts) Missing class com.sun.org.apache.xml.internal.utils.PrefixResolver (referenced from: com.sun.org.apache.xml.internal.utils.PrefixResolver freemarker.ext.dom.SunInternalXalanXPathSupport.CUSTOM_PREFIX_RESOLVER and 1 other context) Missing class java.beans.BeanInfo (referenced from: void freemarker.ext.beans.ClassIntrospector.addBeanInfoToClassIntrospectionData(java.util.Map, java.lang.Class, java.util.Map, freemarker.ext.beans.ClassMemberAccessPolicy) and 2 other contexts) Missing class java.beans.IndexedPropertyDescriptor (referenced from: void freemarker.ext.beans.ClassIntrospector$PropertyReaderMethodPair.(java.beans.PropertyDescriptor) and 2 other contexts) Missing class java.beans.IntrospectionException (referenced from: java.util.Map freemarker.ext.beans.ClassIntrospector.createClassIntrospectionData(java.lang.Class) and 1 other context) Missing class java.beans.Introspector (referenced from: void freemarker.ext.beans.ClassIntrospector.addBeanInfoToClassIntrospectionData(java.util.Map, java.lang.Class, java.util.Map, freemarker.ext.beans.ClassMemberAccessPolicy)) Missing class java.beans.MethodDescriptor (referenced from: void freemarker.ext.beans.ClassIntrospector.addBeanInfoToClassIntrospectionData(java.util.Map, java.lang.Class, java.util.Map, freemarker.ext.beans.ClassMemberAccessPolicy) and 1 other context) Missing class java.beans.PropertyDescriptor (referenced from: java.beans.PropertyDescriptor freemarker.ext.beans.BeansWrapper$MethodAppearanceDecision.exposeAsProperty and 7 other contexts) Missing class javax.swing.tree.TreeNode (referenced from: freemarker.core.TemplateElement) Missing class org.apache.xml.utils.PrefixResolver (referenced from: org.apache.xml.utils.PrefixResolver freemarker.ext.dom.XalanXPathSupport.CUSTOM_PREFIX_RESOLVER and 1 other context) Missing class org.jaxen.FunctionContext (referenced from: org.jaxen.FunctionContext freemarker.ext.dom.JaxenXPathSupport.FM_FUNCTION_CONTEXT) Missing class org.jaxen.NamespaceContext (referenced from: org.jaxen.NamespaceContext freemarker.ext.dom.JaxenXPathSupport.customNamespaceContext and 1 other context) Missing class org.jaxen.Navigator (referenced from: org.jaxen.Navigator freemarker.ext.dom.JaxenXPathSupport.FM_DOM_NAVIGATOR) Missing class org.jaxen.VariableContext (referenced from: org.jaxen.VariableContext freemarker.ext.dom.JaxenXPathSupport.FM_VARIABLE_CONTEXT and 1 other context) Missing class org.jaxen.XPathFunctionContext (referenced from: void freemarker.ext.dom.JaxenXPathSupport$4.() and 1 other context) Missing class org.jaxen.dom.DocumentNavigator (referenced from: void freemarker.ext.dom.JaxenXPathSupport$5.() and 1 other context) Missing class org.jetbrains.dokka.CoreExtensions (referenced from: org.jetbrains.dokka.plugability.Extension org.jetbrains.dokka.base.DokkaBase$actualTypealiasAdder$2.invoke(org.jetbrains.dokka.plugability.ExtendingDSL) and 11 other contexts) Missing class org.jetbrains.dokka.DokkaConfiguration$DokkaSourceSet (referenced from: void org.jetbrains.dokka.base.renderers.html.HtmlRenderer.(org.jetbrains.dokka.plugability.DokkaContext)) Missing class org.jetbrains.dokka.DokkaConfiguration$PluginConfiguration (referenced from: void org.jetbrains.dokka.base.renderers.html.CustomResourceInstaller.(org.jetbrains.dokka.plugability.DokkaContext) and 3 other contexts) Missing class org.jetbrains.dokka.DokkaConfiguration$SerializationFormat (referenced from: void org.jetbrains.dokka.base.renderers.html.CustomResourceInstaller$special$$inlined$configuration$1$wm$DokkaPluginKt$WhenMappings.() and 7 other contexts) Missing class org.jetbrains.dokka.DokkaConfiguration (referenced from: java.lang.Boolean org.jetbrains.dokka.base.DokkaBase$assetsInstaller$2$2.invoke(org.jetbrains.dokka.DokkaConfiguration) and 15 other contexts) Missing class org.jetbrains.dokka.DokkaSourceSetID (referenced from: void org.jetbrains.dokka.base.renderers.html.HtmlRenderer.(org.jetbrains.dokka.plugability.DokkaContext)) Missing class org.jetbrains.dokka.Platform (referenced from: org.jetbrains.dokka.Platform org.jetbrains.dokka.base.transformers.pages.merger.SourceSetMergingKey.platform and 4 other contexts) Missing class org.jetbrains.dokka.analysis.kotlin.KotlinAnalysisPlugin (referenced from: void org.jetbrains.dokka.base.transformers.pages.DefaultSamplesTransformer.(org.jetbrains.dokka.plugability.DokkaContext)) Missing class org.jetbrains.dokka.analysis.kotlin.internal.DocumentableSourceLanguageParser (referenced from: org.jetbrains.dokka.analysis.kotlin.internal.DocumentableSourceLanguageParser org.jetbrains.dokka.base.renderers.html.NavigationDataProvider.documentableSourceLanguageParser and 3 other contexts) Missing class org.jetbrains.dokka.analysis.kotlin.internal.InternalKotlinAnalysisPlugin (referenced from: void org.jetbrains.dokka.base.renderers.html.NavigationDataProvider.(org.jetbrains.dokka.plugability.DokkaContext) and 2 other contexts) Missing class org.jetbrains.dokka.analysis.kotlin.internal.ModuleAndPackageDocumentationReader (referenced from: org.jetbrains.dokka.analysis.kotlin.internal.ModuleAndPackageDocumentationReader org.jetbrains.dokka.base.transformers.documentables.ModuleAndPackageDocumentationTransformer.moduleAndPackageDocumentationReader and 2 other contexts) Missing class org.jetbrains.dokka.analysis.kotlin.sample.SampleAnalysisEnvironmentCreator (referenced from: org.jetbrains.dokka.analysis.kotlin.sample.SampleAnalysisEnvironmentCreator org.jetbrains.dokka.base.transformers.pages.DefaultSamplesTransformer.sampleAnalysisEnvironment and 1 other context) Missing class org.jetbrains.dokka.generation.Generation (referenced from: org.jetbrains.dokka.base.generation.SingleModuleGeneration) Missing class org.jetbrains.dokka.links.Callable (referenced from: void org.jetbrains.dokka.base.pages.AllTypesPageNode.() and 1 other context) Missing class org.jetbrains.dokka.links.DRI (referenced from: org.jetbrains.dokka.links.DRI org.jetbrains.dokka.base.pages.AllTypesPageNode.DRI and 5 other contexts) Missing class org.jetbrains.dokka.links.DriTarget (referenced from: void org.jetbrains.dokka.base.pages.AllTypesPageNode.() and 1 other context) Missing class org.jetbrains.dokka.model.Annotations$Annotation (referenced from: void org.jetbrains.dokka.base.signatures.KotlinSignatureUtils.()) Missing class org.jetbrains.dokka.model.Annotations$AnnotationScope (referenced from: void org.jetbrains.dokka.base.signatures.KotlinSignatureUtils.()) Missing class org.jetbrains.dokka.model.DisplaySourceSet (referenced from: void org.jetbrains.dokka.base.transformers.pages.merger.SourceSetMergingPageTransformer.(org.jetbrains.dokka.plugability.DokkaContext) and 2 other contexts) Missing class org.jetbrains.dokka.model.DisplaySourceSetKt (referenced from: void org.jetbrains.dokka.base.transformers.pages.merger.SourceSetMergingPageTransformer.(org.jetbrains.dokka.plugability.DokkaContext)) Missing class org.jetbrains.dokka.model.ExtraModifiers$KotlinOnlyModifiers$External (referenced from: void org.jetbrains.dokka.base.signatures.KotlinSignatureProvider.(org.jetbrains.dokka.base.transformers.pages.comments.CommentsToContentConverter, org.jetbrains.dokka.utilities.DokkaLogger)) Missing class org.jetbrains.dokka.model.ExtraModifiers$KotlinOnlyModifiers$TailRec (referenced from: void org.jetbrains.dokka.base.signatures.KotlinSignatureProvider.(org.jetbrains.dokka.base.transformers.pages.comments.CommentsToContentConverter, org.jetbrains.dokka.utilities.DokkaLogger)) Missing class org.jetbrains.dokka.model.ExtraModifiers$KotlinOnlyModifiers (referenced from: void org.jetbrains.dokka.base.signatures.KotlinSignatureProvider.(org.jetbrains.dokka.base.transformers.pages.comments.CommentsToContentConverter, org.jetbrains.dokka.utilities.DokkaLogger)) Missing class org.jetbrains.dokka.model.JavaModifier$Final (referenced from: void org.jetbrains.dokka.base.signatures.KotlinSignatureProvider.(org.jetbrains.dokka.base.transformers.pages.comments.CommentsToContentConverter, org.jetbrains.dokka.utilities.DokkaLogger)) Missing class org.jetbrains.dokka.model.JavaVisibility$Public (referenced from: void org.jetbrains.dokka.base.signatures.KotlinSignatureProvider.(org.jetbrains.dokka.base.transformers.pages.comments.CommentsToContentConverter, org.jetbrains.dokka.utilities.DokkaLogger)) Missing class org.jetbrains.dokka.model.KotlinModifier$Empty (referenced from: void org.jetbrains.dokka.base.signatures.KotlinSignatureProvider.(org.jetbrains.dokka.base.transformers.pages.comments.CommentsToContentConverter, org.jetbrains.dokka.utilities.DokkaLogger)) Missing class org.jetbrains.dokka.model.KotlinModifier$Final (referenced from: void org.jetbrains.dokka.base.signatures.KotlinSignatureProvider.(org.jetbrains.dokka.base.transformers.pages.comments.CommentsToContentConverter, org.jetbrains.dokka.utilities.DokkaLogger)) Missing class org.jetbrains.dokka.model.KotlinVisibility$Public (referenced from: void org.jetbrains.dokka.base.signatures.KotlinSignatureProvider.(org.jetbrains.dokka.base.transformers.pages.comments.CommentsToContentConverter, org.jetbrains.dokka.utilities.DokkaLogger)) Missing class org.jetbrains.dokka.model.Modifier (referenced from: void org.jetbrains.dokka.base.signatures.KotlinSignatureProvider.(org.jetbrains.dokka.base.transformers.pages.comments.CommentsToContentConverter, org.jetbrains.dokka.utilities.DokkaLogger)) Missing class org.jetbrains.dokka.model.Visibility (referenced from: void org.jetbrains.dokka.base.signatures.KotlinSignatureProvider.(org.jetbrains.dokka.base.transformers.pages.comments.CommentsToContentConverter, org.jetbrains.dokka.utilities.DokkaLogger)) Missing class org.jetbrains.dokka.model.WithChildren (referenced from: org.jetbrains.dokka.base.renderers.html.NavigationNode) Missing class org.jetbrains.dokka.pages.ContentPage (referenced from: org.jetbrains.dokka.base.pages.AllTypesPageNode) Missing class org.jetbrains.dokka.pages.RendererSpecificResourcePage (referenced from: void org.jetbrains.dokka.base.renderers.html.CustomResourceInstaller.(org.jetbrains.dokka.plugability.DokkaContext)) Missing class org.jetbrains.dokka.pages.RenderingStrategy$Copy (referenced from: void org.jetbrains.dokka.base.renderers.html.CustomResourceInstaller.(org.jetbrains.dokka.plugability.DokkaContext)) Missing class org.jetbrains.dokka.pages.RenderingStrategy (referenced from: void org.jetbrains.dokka.base.renderers.html.CustomResourceInstaller.(org.jetbrains.dokka.plugability.DokkaContext)) Missing class org.jetbrains.dokka.plugability.ConfigurableBlock (referenced from: void org.jetbrains.dokka.base.renderers.html.CustomResourceInstaller.(org.jetbrains.dokka.plugability.DokkaContext) and 4 other contexts) Missing class org.jetbrains.dokka.plugability.DokkaContext (referenced from: org.jetbrains.dokka.plugability.DokkaContext org.jetbrains.dokka.android.transformers.HideTagDocumentableFilter.dokkaContext and 135 other contexts) Missing class org.jetbrains.dokka.plugability.DokkaPlugin$ExtensionProvider (referenced from: void org.jetbrains.dokka.android.AndroidDocumentationPlugin.() and 1 other context) Missing class org.jetbrains.dokka.plugability.DokkaPlugin (referenced from: org.jetbrains.dokka.base.DokkaBase org.jetbrains.dokka.android.AndroidDocumentationPlugin$dokkaBase$2.invoke() and 13 other contexts) Missing class org.jetbrains.dokka.plugability.DokkaPluginKt (referenced from: org.jetbrains.dokka.base.DokkaBase org.jetbrains.dokka.android.AndroidDocumentationPlugin$dokkaBase$2.invoke() and 9 other contexts) Missing class org.jetbrains.dokka.plugability.ExtendingDSL (referenced from: java.lang.Object org.jetbrains.dokka.android.AndroidDocumentationPlugin$suppressedByHideTagDocumentableFilter$2.invoke(java.lang.Object) and 89 other contexts) Missing class org.jetbrains.dokka.plugability.Extension (referenced from: void org.jetbrains.dokka.android.AndroidDocumentationPlugin$suppressedByHideTagDocumentableFilter$2$2.invoke(org.jetbrains.dokka.plugability.OrderDsl) and 74 other contexts) Missing class org.jetbrains.dokka.plugability.ExtensionPoint (referenced from: org.jetbrains.dokka.plugability.Extension org.jetbrains.dokka.android.AndroidDocumentationPlugin$suppressedByHideTagDocumentableFilter$2.invoke(org.jetbrains.dokka.plugability.ExtendingDSL) and 64 other contexts) Missing class org.jetbrains.dokka.plugability.OrderDsl (referenced from: void org.jetbrains.dokka.android.AndroidDocumentationPlugin$suppressedByHideTagDocumentableFilter$2$2.invoke(org.jetbrains.dokka.plugability.OrderDsl) and 29 other contexts) Missing class org.jetbrains.dokka.renderers.Renderer (referenced from: org.jetbrains.dokka.base.renderers.DefaultRenderer) Missing class org.jetbrains.dokka.transformers.documentation.DefaultDocumentableMerger (referenced from: void org.jetbrains.dokka.base.DokkaBase$documentableMerger$2$1.() and 1 other context) Missing class org.jetbrains.dokka.transformers.documentation.DocumentableToPageTranslator (referenced from: org.jetbrains.dokka.base.translators.documentables.DefaultDocumentableToPageTranslator) Missing class org.jetbrains.dokka.transformers.documentation.DocumentableTransformer (referenced from: org.jetbrains.dokka.base.transformers.documentables.ActualTypealiasAdder and 4 other contexts) Missing class org.jetbrains.dokka.transformers.documentation.PreMergeDocumentableTransformer (referenced from: org.jetbrains.dokka.base.transformers.documentables.DocumentableReplacerTransformer and 6 other contexts) Missing class org.jetbrains.dokka.transformers.pages.PageTransformer (referenced from: org.jetbrains.dokka.transformers.pages.PageTransformer org.jetbrains.dokka.base.DokkaBase$customResourceInstaller$2$1.invoke(org.jetbrains.dokka.plugability.DokkaContext) and 14 other contexts) Missing class org.jetbrains.dokka.utilities.DokkaLogger (referenced from: org.jetbrains.dokka.utilities.DokkaLogger org.jetbrains.dokka.base.transformers.pages.merger.FallbackPageMergerStrategy.logger and 12 other contexts) Missing class org.jetbrains.dokka.utilities.JsonKt (referenced from: void org.jetbrains.dokka.base.renderers.html.CustomResourceInstaller.(org.jetbrains.dokka.plugability.DokkaContext) and 3 other contexts) Missing class org.jetbrains.dokka.utilities.TypeReference$Companion (referenced from: void org.jetbrains.dokka.base.renderers.html.CustomResourceInstaller.(org.jetbrains.dokka.plugability.DokkaContext)) Missing class org.jetbrains.dokka.utilities.TypeReference (referenced from: void org.jetbrains.dokka.base.renderers.html.CustomResourceInstaller.(org.jetbrains.dokka.plugability.DokkaContext) and 3 other contexts) Missing class org.python.core.Py (referenced from: freemarker.template.TemplateModel freemarker.ext.jython.JythonModelCache.create(java.lang.Object)) Missing class org.python.core.PyDictionary (referenced from: freemarker.template.TemplateModel freemarker.ext.jython.JythonModelCache.create(java.lang.Object)) Missing class org.python.core.PyFloat (referenced from: freemarker.template.TemplateModel freemarker.ext.jython.JythonModelCache.create(java.lang.Object)) Missing class org.python.core.PyInteger (referenced from: freemarker.template.TemplateModel freemarker.ext.jython.JythonModelCache.create(java.lang.Object)) Missing class org.python.core.PyLong (referenced from: freemarker.template.TemplateModel freemarker.ext.jython.JythonModelCache.create(java.lang.Object)) Missing class org.python.core.PyNone (referenced from: freemarker.template.TemplateModel freemarker.ext.jython.JythonModelCache.create(java.lang.Object)) Missing class org.python.core.PyObject (referenced from: org.python.core.PyObject freemarker.ext.jython.JythonModel.object and 10 other contexts) Missing class org.python.core.PySequence (referenced from: freemarker.template.TemplateModel freemarker.ext.jython.JythonModelCache.create(java.lang.Object)) Missing class org.python.core.PyStringMap (referenced from: freemarker.template.TemplateModel freemarker.ext.jython.JythonModelCache.create(java.lang.Object)) Missing class org.python.core.PySystemState (referenced from: void freemarker.ext.jython.JythonVersionAdapterHolder.()) Missing class org.zeroturnaround.javarebel.ClassEventListener (referenced from: void freemarker.ext.beans.JRebelClassChangeNotifier.subscribe(freemarker.ext.beans.ClassIntrospector) and 1 other context) Missing class org.zeroturnaround.javarebel.Reloader (referenced from: void freemarker.ext.beans.JRebelClassChangeNotifier.subscribe(freemarker.ext.beans.ClassIntrospector)) Missing class org.zeroturnaround.javarebel.ReloaderFactory (referenced from: void freemarker.ext.beans.JRebelClassChangeNotifier.subscribe(freemarker.ext.beans.ClassIntrospector))