github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/openapi-generator/templates/java/libraries/retrofit2/build.sbt.mustache (about)

     1  lazy val root = (project in file(".")).
     2    settings(
     3      organization := "{{groupId}}",
     4      name := "{{artifactId}}",
     5      version := "{{artifactVersion}}",
     6      scalaVersion := "2.11.4",
     7      scalacOptions ++= Seq("-feature"),
     8      javacOptions in compile ++= Seq("-Xlint:deprecation"),
     9      publishArtifact in (Compile, packageDoc) := false,
    10      resolvers += Resolver.mavenLocal,
    11      libraryDependencies ++= Seq(
    12        "com.squareup.retrofit2" % "retrofit" % "2.3.0" % "compile",
    13        "com.squareup.retrofit2" % "converter-scalars" % "2.3.0" % "compile",
    14        {{^usePlayWS}}
    15        "com.squareup.retrofit2" % "converter-gson" % "2.3.0" % "compile",
    16        {{/usePlayWS}}
    17        {{#usePlayWS}}
    18        {{#play24}}
    19        "com.typesafe.play" % "play-java-ws_2.11" % "2.4.11" % "compile",
    20        "com.fasterxml.jackson.core" % "jackson-core" % "2.6.6" % "compile",
    21        "com.fasterxml.jackson.core" % "jackson-annotations" % "2.6.6" % "compile",
    22        "com.fasterxml.jackson.core" % "jackson-databind" % "2.6.6" % "compile",
    23        {{/play24}}
    24        {{#play25}}
    25        "com.typesafe.play" % "play-java-ws_2.11" % "2.5.15" % "compile",
    26        "com.fasterxml.jackson.core" % "jackson-core" % "2.10.3" % "compile",
    27        "com.fasterxml.jackson.core" % "jackson-annotations" % "2.10.3" % "compile",
    28        "com.fasterxml.jackson.core" % "jackson-databind" % "2.10.3" % "compile",
    29        {{/play25}}
    30        {{#play26}}
    31        "com.typesafe.play" % "play-ahc-ws_2.12" % "2.6.7" % "compile",
    32        "javax.validation" % "validation-api" % "1.1.0.Final" % "compile",
    33        "com.fasterxml.jackson.core" % "jackson-core" % "2.10.3" % "compile",
    34        "com.fasterxml.jackson.core" % "jackson-annotations" % "2.10.3" % "compile",
    35        "com.fasterxml.jackson.core" % "jackson-databind" % "2.9.10.3" % "compile",
    36        {{/play26}}
    37        "com.squareup.retrofit2" % "converter-jackson" % "2.3.0" % "compile",
    38        {{/usePlayWS}}
    39        {{#useRxJava}}
    40        "com.squareup.retrofit2" % "adapter-rxjava" % "2.3.0" % "compile",
    41        "io.reactivex" % "rxjava" % "1.3.0" % "compile",
    42        {{/useRxJava}}
    43        {{#useRxJava2}}
    44        "com.squareup.retrofit2" % "adapter-rxjava2" % "2.3.0" % "compile",
    45        "io.reactivex.rxjava2" % "rxjava" % "2.1.1" % "compile",
    46        {{/useRxJava2}}
    47        "io.swagger" % "swagger-annotations" % "1.5.21" % "compile",
    48        "org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1" % "compile",
    49        {{#joda}}
    50        "joda-time" % "joda-time" % "2.9.9" % "compile",
    51        {{/joda}}
    52        {{#threetenbp}}
    53        "org.threeten" % "threetenbp" % "1.4.0" % "compile",
    54        {{/threetenbp}}
    55        "io.gsonfire" % "gson-fire" % "1.8.0" % "compile",
    56        "junit" % "junit" % "4.13" % "test",
    57        "com.novocode" % "junit-interface" % "0.11" % "test"
    58      )
    59    )