-
Notifications
You must be signed in to change notification settings - Fork 35
/
build.sbt
55 lines (42 loc) · 1.88 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
ThisBuild / name := "sbt-openapi-generator"
ThisBuild / description :=
"""
This plugin supports common functionality found in Open API Generator CLI as a sbt plugin.
This gives you the ability to generate client SDKs, documentation, new generators, and to validate Open API 2.0 and 3.x
specifications as part of your build. Other tasks are available as command line tasks.
"""
lazy val `sbt-openapi-generator` = (project in file("."))
.settings(
scalaVersion := "2.12.15",
crossScalaVersions := Seq(scalaVersion.value, "2.11.12"),
crossSbtVersions := List("0.13.17", "1.3.10"),
sbtPlugin := true,
publishMavenStyle := true,
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++ Seq("-Xmx1024M", "-server", "-Dplugin.version=" + version.value)
},
scriptedBufferLog := false,
resolvers ++= Seq(
Resolver.sbtPluginRepo("snapshots"),
Resolver.sonatypeRepo("snapshots")
),
version := "7.10.0",
homepage := Some(url("https://openapi-generator.tech")),
organization := "org.openapitools",
organizationName := "OpenAPI-Generator Contributors",
organizationHomepage := Some(url("https://github.com/OpenAPITools")),
licenses += ("The Apache Software License, Version 2.0", url("https://www.apache.org/licenses/LICENSE-2.0.txt")),
developers += Developer(
id = "openapitools",
name = "OpenAPI-Generator Contributors",
email = "[email protected]",
url = url("https://github.com/OpenAPITools")
),
scmInfo := Some(
ScmInfo(
browseUrl = url("https://github.com/OpenAPITools/openapi-generator"),
connection = "scm:git:git://github.com/OpenAPITools/openapi-generator.git",
devConnection = "scm:git:ssh://[email protected]:OpenAPITools/openapi-generator.git")
),
libraryDependencies += "org.openapitools" % "openapi-generator" % "7.10.0"
).enablePlugins(SbtPlugin)