aboutsummaryrefslogtreecommitdiff
path: root/sbt-bridge/src/sbt-test/source-dependencies/replace-test-a/project/Build.scala
diff options
context:
space:
mode:
Diffstat (limited to 'sbt-bridge/src/sbt-test/source-dependencies/replace-test-a/project/Build.scala')
-rw-r--r--sbt-bridge/src/sbt-test/source-dependencies/replace-test-a/project/Build.scala19
1 files changed, 0 insertions, 19 deletions
diff --git a/sbt-bridge/src/sbt-test/source-dependencies/replace-test-a/project/Build.scala b/sbt-bridge/src/sbt-test/source-dependencies/replace-test-a/project/Build.scala
deleted file mode 100644
index 9c2678540..000000000
--- a/sbt-bridge/src/sbt-test/source-dependencies/replace-test-a/project/Build.scala
+++ /dev/null
@@ -1,19 +0,0 @@
-import sbt._
-import Keys._
-import java.net.URLClassLoader
-
-object B extends Build
-{
- lazy val root = Project("root", file(".")) settings( ss : _*)
-
- def ss = Seq(
- TaskKey[Unit]("check-first") <<= checkTask("First"),
- TaskKey[Unit]("check-second") <<= checkTask("Second")
- )
- private def checkTask(className: String) =
- fullClasspath in Configurations.Runtime map { runClasspath =>
- val cp = runClasspath.map(_.data.toURI.toURL).toArray
- Class.forName(className, false, new URLClassLoader(cp))
- ()
- }
-}