Java.libraries.retrofit2.build.sbt.mustache Maven / Gradle / Ivy
lazy val root = (project in file(".")).
settings(
organization := "{{groupId}}",
name := "{{artifactId}}",
version := "{{artifactVersion}}",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
publishArtifact in (Compile, packageDoc) := false,
resolvers += Resolver.mavenLocal,
libraryDependencies ++= Seq(
"com.squareup.retrofit2" % "retrofit" % "2.7.1" % "compile",
"com.squareup.retrofit2" % "converter-scalars" % "2.7.1" % "compile",
{{^usePlayWS}}
"com.squareup.retrofit2" % "converter-gson" % "2.7.1" % "compile",
{{/usePlayWS}}
{{#usePlayWS}}
{{#play24}}
"com.typesafe.play" % "play-java-ws_2.11" % "2.4.11" % "compile",
"com.fasterxml.jackson.core" % "jackson-core" % "2.11.4" % "compile",
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.11.4" % "compile",
"com.fasterxml.jackson.core" % "jackson-databind" % "2.11.4" % "compile",
{{/play24}}
{{#play25}}
"com.typesafe.play" % "play-java-ws_2.11" % "2.5.15" % "compile",
"com.fasterxml.jackson.core" % "jackson-core" % "2.11.4" % "compile",
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.11.4" % "compile",
"com.fasterxml.jackson.core" % "jackson-databind" % "2.11.4" % "compile",
{{/play25}}
"com.squareup.retrofit2" % "converter-jackson" % "2.3.0" % "compile",
{{/usePlayWS}}
{{#useRxJava}}
"com.squareup.retrofit2" % "adapter-rxjava" % "2.3.0" % "compile",
"io.reactivex" % "rxjava" % "1.3.0" % "compile",
{{/useRxJava}}
{{#useRxJava2}}
"com.squareup.retrofit2" % "adapter-rxjava2" % "2.3.0" % "compile",
"io.reactivex.rxjava2" % "rxjava" % "2.1.1" % "compile",
{{/useRxJava2}}
"io.swagger" % "swagger-annotations" % "1.5.24" % "compile",
"org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1" % "compile",
{{#joda}}
"joda-time" % "joda-time" % "2.10.5" % "compile",
{{/joda}}
{{#threetenbp}}
"org.threeten" % "threetenbp" % "1.4.1" % "compile",
{{/threetenbp}}
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",
"junit" % "junit" % "4.12" % "test",
"com.novocode" % "junit-interface" % "0.11" % "test"
)
)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy