google/flogger

Flogger 0.7 JAR in Maven Central is missing classes

rcd47 opened this issue · 2 comments

rcd47 commented

Flogger 0.7 from Maven Central blows up during initialization with an error that ends with:

Caused by: java.lang.IllegalStateException: No logging platforms found:
com.google.common.flogger.backend.system.DefaultPlatform: java.lang.NoClassDefFoundError: com/google/common/flogger/util/Checks
	at com.google.common.flogger.backend.Platform$LazyHolder.loadFirstAvailablePlatform(Platform.java:98)
	at com.google.common.flogger.backend.Platform$LazyHolder.<clinit>(Platform.java:66)
	... 11 more

It appears that com.google.common.flogger.util.Checks, and possibly some others in the same package, are missing from the JAR.

Thanks for the report... looks like this was caused by some changes to the BUILD files that (unbeknownst to me) affected what files were deployed to Maven Central. I'll get a fixed release out tomorrow.

I've released 0.7.1 which should have the missing classes included. I'm planning on trying to make sure we run tests against the jar that will get uploaded to Maven in the future.