mirror of https://github.com/sbt/sbt.git
Added basic binary plugin test
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@870 d89573ee-9141-11dd-94d4-bdf5e562f29c
This commit is contained in:
parent
8067eb42d5
commit
066e5588c7
|
|
@ -0,0 +1,2 @@
|
||||||
|
project.version=1.0
|
||||||
|
project.name=Plugins Test
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import sbt._
|
||||||
|
|
||||||
|
class UsePlugin(info: ProjectInfo) extends DefaultProject(info)
|
||||||
|
{
|
||||||
|
import antlr.Tool // verify that antlr is on compile classpath
|
||||||
|
lazy val check = task { Class.forName("antlr.Tool"); None } // verify antlr is on runtime classpath
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
import sbt._
|
||||||
|
class Plugins(info: ProjectInfo) extends PluginDefinition(info)
|
||||||
|
{
|
||||||
|
val a = "antlr" % "antlr" % "2.7.7"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
> check
|
||||||
|
[success]
|
||||||
Loading…
Reference in New Issue