Skip to content

Commit 7fb6a32

Browse files
add scripted plugin for sbt plugin testing
1 parent 3f783eb commit 7fb6a32

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

build.sbt

+7
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,10 @@ publishMavenStyle := false
2424
publishArtifact in Test := false
2525

2626
licenses +=("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0.html"))
27+
28+
29+
ScriptedPlugin.scriptedSettings
30+
31+
scriptedLaunchOpts := { scriptedLaunchOpts.value ++
32+
Seq("-Xmx1024M", "-XX:MaxPermSize=256M", "-Dplugin.version=" + version.value)
33+
}

project/plugins.sbt

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
resolvers += "sonatype-releases" at "https://oss.sonatype.org/content/repositories/releases/"
2+
3+
libraryDependencies <+= sbtVersion(v => "org.scala-sbt" % "scripted-plugin" % v)

0 commit comments

Comments
 (0)