Skip to content

JAR size is up from 1.7MB at version 1.17.0 #92

@lognaturel

Description

@lognaturel

Software versions

Validate v1.19.0, Java v1.8, macOS

Problem description

Update: we could still reduce the size by removing most classes form the CSV parsing library and Kotlin. I'll leave this issue open for now.

Background, most addressed by #93
The jar produced by ./gradlew jar at version 1.17.0 was 1.7MB. For version 1.18.0, it grew to 5.6MB because of the inclusion of jackson to support geoJSON parsing. This is only applicable for external secondary instances so is not necessary. For version 1.19.0, it grew to 13MB, primarily because of the inclusion of bouncycastle for the extract-signed function. The function doesn't really need to be evaluated when running Validate but if the dependency is just excluded, it will crash. There's also a kotlin folder that adds 1.5MB for annotations.

Ideally we could reduce that size.

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