-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
44 lines (35 loc) · 1.13 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
enablePlugins(SbtPlugin)
organization := "org.upstartcommerce"
name := "sbt-openapi-generator"
licenses in ThisBuild += ("Apache-2.0", url("https://bintray.com/upstartcommerce"))
scalaVersion := "2.12.10"
sbtPlugin := true
logLevel := Level.Warn
val openapiGeneratorCli = "org.openapitools" % "openapi-generator-cli" % "4.3.1"
libraryDependencies ++= Seq(openapiGeneratorCli)
scriptedLaunchOpts += ("-Dplugin.version=" + version.value)
scriptedBufferLog := false
wartremoverWarnings ++= Seq(Wart.TraversableOps, Wart.Var, Wart.While)
wartremoverErrors ++= Seq(
Wart.ArrayEquals,
Wart.AsInstanceOf,
Wart.EitherProjectionPartial,
Wart.ExplicitImplicitTypes,
Wart.FinalCaseClass,
Wart.IsInstanceOf,
Wart.LeakingSealed,
Wart.Null,
Wart.OptionPartial,
Wart.PublicInference,
Wart.Return,
Wart.StringPlusAny
)
resolvers in Global += Resolver.url(
"upstartcommerce",
url("https://upstartcommerce.bintray.com/nochannel")
)(Resolver.ivyStylePatterns)
bintrayOmitLicense := true
bintrayOrganization := Some("upstartcommerce")
bintrayRepository := "generic"
bintrayReleaseOnPublish in ThisBuild := false
publishMavenStyle := false