Closed harpocrates closed 3 years ago
Hi @harpocrates,
thanks for using our client, We will take a look.
Regards
Hi @harpocrates,
the issue is fixed in 2.2.0 milestone. You could use a preview version by:
<dependency>
<groupId>com.influxdb</groupId>
<artifactId>influxdb-client-scala_2.12</artifactId>
<version>2.2.0-SNAPSHOT</version>
</dependency>
Regards
The artifacts published to Maven are not cross-published. Artifacts appear to be built with Scala 2.13.2, but no JARS are published with the
_2.13 suffix
. Here's a quick visual way to spot this on Maven: notice how theshapeless
library has a column for "Scala" butinfluxdb-client-scala
doesn't.Steps to reproduce: Try to use
influxdb-client-scala
inside any Scala project built using Scala 2.12. For instance, using the Ammonite REPL for 2.12:Expected behavior: The project fails to compile since
influxdb-client-scala
is not published for Scala 2.12, or successful compilation using a Scala 2.13 artifact.Actual behavior: The project crashes at runtime due to a mismatch in
scala-library
versionsSpecifications: