forked from henrikerola/sbt-vaadin-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
33 lines (19 loc) · 938 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
31
32
33
name := "sbt-vaadin-plugin"
description := "Vaadin Plugin for sbt"
version := "1.2.0"
organization := "org.vaadin.sbt"
sbtPlugin := true
sbtVersion in Global := "0.13.7"
scalaVersion in Global := "2.10.4"
scalariformSettings
// sbt -Dsbt-vaadin-plugin.repository.path=../henrikerola.github.io/repository/releases publish
publishTo := Some(Resolver.file("GitHub", file(Option(System.getProperty("sbt-vaadin-plugin.repository.path")).getOrElse("../henrikerola.github.io/repository/snapshots"))))
vaadinSettings
packageOptions in (Compile, packageBin) <+= org.vaadin.sbt.tasks.AddOnJarManifestTask.addOnJarManifestTask
//addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "0.9.0")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "1.0.0")
ScriptedPlugin.scriptedSettings
scriptedBufferLog := false
scriptedLaunchOpts := { scriptedLaunchOpts.value ++
Seq("-Dplugin.version=" + version.value, "-Dvaadin.version=7.4.0")
}