-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
29 lines (18 loc) · 973 Bytes
/
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
organization := "tv.cntt"
name := "xitrum-swagger"
version := "1.0-SNAPSHOT"
scalaVersion := "2.11.2"
//scalaVersion := "2.10.4"
crossScalaVersions := Seq("2.11.2", "2.10.4")
scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked")
// Xitrum 3.2+ requires Java 7
javacOptions ++= Seq("-source", "1.7", "-target", "1.7")
// Most Scala projects are published to Sonatype, but Sonatype is not default
// and it takes several hours to sync from Sonatype to Maven Central
resolvers += "SonatypeReleases" at "http://oss.sonatype.org/content/repositories/releases/"
libraryDependencies += "tv.cntt" %% "xitrum" % "3.18-SNAPSHOT" % "provided"
libraryDependencies += "org.webjars" % "swagger-ui" % "2.0.21"
//------------------------------------------------------------------------------
// Skip API doc generation to speedup "publish-local" while developing.
// Comment out this line when publishing to Sonatype.
publishArtifact in (Compile, packageDoc) := false