Skip to content

modernize jdk level and dependencies #496

@sreuland

Description

@sreuland

What problem does your feature solve?

jdk is pinned to LTS 1.8 from 2014 version.
uses some library deps that were prior required due to gaps in older jdk's such as threeten for date/time and to some degree google guava and okhttpclient.

What would you like to see?

upgrade the jdk to LTS 11 which came out in 2018.

evaluate using builtin java.net.HTTPClient and removing dep on okhttpclient which pulls in entire Kotlin library for not much value-add

  • use as opportunity for refactor to streamline org.stellar.sdk.Server, don't expose internal http client aspect
    • replace current constructors with a org.stellar.sdk.ServerBuilder with required param setterwithServerURL, and optionals forwithTimeout, withTxSubmitTimeout
    • remove getter/setters for internal http client

use jdk built-in java.time.* instead of threeten dep

What alternatives are there?

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