forked from loafle/openapi-generator-original
* Closes #5863 The "dateLibrary" option for java, sadly, sets a mustache value "java8". This change updates this so that "java" in the mustache libraries means what it should mean - use all java8 classes. In this case, there's no need for the third party Base64 library as java8's JDK has this built in. In my view, the "dateLibrary" should be deprecated but that should be a separate PR. * Closes #5954 built and ran tests/samples
21 lines
792 B
Scala
21 lines
792 B
Scala
lazy val root = (project in file(".")).
|
|
settings(
|
|
organization := "io.swagger",
|
|
name := "swagger-petstore-okhttp-gson",
|
|
version := "1.0.0",
|
|
scalaVersion := "2.11.4",
|
|
scalacOptions ++= Seq("-feature"),
|
|
javacOptions in compile ++= Seq("-Xlint:deprecation"),
|
|
publishArtifact in (Compile, packageDoc) := false,
|
|
resolvers += Resolver.mavenLocal,
|
|
libraryDependencies ++= Seq(
|
|
"io.swagger" % "swagger-annotations" % "1.5.15",
|
|
"com.squareup.okhttp" % "okhttp" % "2.7.5",
|
|
"com.squareup.okhttp" % "logging-interceptor" % "2.7.5",
|
|
"com.google.code.gson" % "gson" % "2.8.1",
|
|
"joda-time" % "joda-time" % "2.9.9" % "compile",
|
|
"junit" % "junit" % "4.12" % "test",
|
|
"com.novocode" % "junit-interface" % "0.10" % "test"
|
|
)
|
|
)
|