foojayio / discoclient

A Java library that makes it easier to access the foojay disco api
Apache License 2.0
6 stars 7 forks source link

Reduce dependency list #2

Open emilianbold opened 3 years ago

emilianbold commented 3 years ago

It would be nice to restrict the dependency list to a minimum:

HanSolo commented 3 years ago

I agree, I also saw the useless logging dependencies...

aalmiray commented 2 years ago

The minimum set of dependencies may be

    implementation("com.google.code.gson:gson:2.8.8")
    implementation("org.slf4j:slf4j-api:1.7.25")

Also, set them in the api scope.

The log4j dependencies might be needed for testing, if so move them to testImplementation scope.

aalmiray commented 2 years ago

And don't forget to bump the slf4j-api version to the latest release 😉