carueda / cfg

Type safety all the way from configuration spec to configuration access in Scala
Apache License 2.0
4 stars 2 forks source link

Question: Can this library be used with maven? #2

Open javadba opened 6 years ago

javadba commented 6 years ago

I see there is a sbt plugin requirement.. so I'm not hopeful that this can be used with maven .. but checking in any case since this library looks to fit well with our needs - and pureconfig has too many issues.

carueda commented 6 years ago

Hey, thanks for the interest to give cfg a try!

I haven't used maven for a long time (and not that much anyway) so, sorry, I don't have any immediate concrete answer or pointers.

But, perhaps something like this may work?

<dependencies>
  <dependency>
    <groupId>com.github.carueda</groupId>
    <artifactId>cfg_2.12</artifactId>
    <version>0.3.0</version>
  </dependency>
  <dependency>
    <groupId>org.scalameta</groupId>
    <artifactId>paradise_2.12.6</artifactId>
    <version>3.0.0-M11</version>
  </dependency>
</dependencies>