forked from sbt/sbt-native-packager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
35 lines (17 loc) · 770 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
30
sbtPlugin := true
name := "sbt-native-packager"
organization := "com.typesafe.sbt"
scalacOptions in Compile += "-deprecation"
libraryDependencies += "org.apache.commons" % "commons-compress" % "1.4.1"
site.settings
com.typesafe.sbt.SbtSite.SiteKeys.siteMappings <+= (baseDirectory) map { dir =>
val nojekyll = dir / "src" / "site" / ".nojekyll"
nojekyll -> ".nojekyll"
}
site.sphinxSupport()
ghpages.settings
git.remoteRepo := "[email protected]:sbt/sbt-native-packager.git"
publishTo := Some(Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns))
publishMavenStyle := false
scriptedSettings
scriptedLaunchOpts <+= version apply { v => "-Dproject.version="+v }