Skip to content

AutoValue java files could be found in the APK #706

@osana

Description

@osana

The issue was reported by a customer of Android Mapbox sdk. Android sdk uses Mapbox Java Services SDK which in turn uses AutoValue.

The artifact is expected to contain AutoValue .class files (compiled Java classes) but not the .java files (source code). Looking at the extract, these are all AutoValue generated files:
image

Here is a snipet from a build.gradle file where autovalue is added:
compileOnly dependenciesList.autoValue
compileOnly dependenciesList.autoValueGson

dependenciesList is defined as:
dependenciesList = [
autoValue : "com.google.auto.value:auto-value:${version.autoValue}",
autoValueGson : "com.ryanharter.auto.value:auto-value-gson:${version.autoValueGson}" ..]

version = [
autoValue : '1.6.2',
autoValueGson : '0.8.0', .. ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions