Java-OCA-OCPP: Unable to find dependency with gradle

Hi, up until now we were using this library in one of our Spring applications, specifically the following commit:

implementation ‘com.github.ChargeTimeEU:Java-OCA-OCPP:a67719e’

Now we need to implement GetCompositeSchedule and need a newer commit. We tried to use the latest commit on master:

implementation ‘com.github.ChargeTimeEU:Java-OCA-OCPP:75671a2’

and a few other earlier commits.

None of these commits worked for us as gradle does not find the dependency.

Looking at Jitpack we saw that on the master-SNAPSHOT branch the logfile has the following error:

> Task :OCPP-J:verifyGoogleJavaFormat FAILED

The following files are not formatted properly:

/home/jitpack/build/OCPP-J/src/main/java/eu/chargetime/ocpp/JSONCommunicator.java

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':OCPP-J:verifyGoogleJavaFormat'.
> Problems: formatting style violations

Could this be the issue for gradle not finding the dependency or is something wrong on our side?

Maybe you already know this issue and could point us in the right direction to help and fix it?

Thanks!

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

Hi @robinroscher

Does that mean that this issue is resolved? If so, can I get you to close it?

Sincerely, Thomas

I don’t know what happened there, now I also see it green and can pull it!

I get errors with @XmlRootElement and @XmlElement annotations

Awesome thanks a lot! Hopefully this PR solves this issue