mirror of https://github.com/sbt/sbt.git
fix some tests
This commit is contained in:
parent
de8af817ac
commit
274ed92515
|
|
@ -4,7 +4,7 @@ import sbt._
|
|||
class TestUse(info: ProjectInfo) extends DefaultProject(info)
|
||||
{
|
||||
override def managedStyle = ManagedStyle.Ivy
|
||||
val publishTo = Resolver.file("test-repo", path("repo").asFile)(Patterns(false, Resolver.mavenStyleBasePattern))
|
||||
val testLocal = Resolver.file("test-repo", path("repo").asFile)(Patterns(false, Resolver.mavenStyleBasePattern))
|
||||
val mavenC = "org.example" %% "test-ivy" % "1.0"
|
||||
val mavenT = "org.example" %% "test-ivy" % "1.0" % "test"
|
||||
val mavenR = "org.example" %% "test-ivy" % "1.0" % "runtime"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import sbt._
|
|||
|
||||
class TestUse(info: ProjectInfo) extends DefaultProject(info)
|
||||
{
|
||||
val publishTo = Resolver.file("test-repo", path("repo").asFile)
|
||||
val testLocal = Resolver.file("test-repo", path("repo").asFile)
|
||||
val mavenC = "org.example" %% "test" % "1.0"
|
||||
val mavenT = "org.example" %% "test" % "1.0" % "test"
|
||||
val mavenR = "org.example" %% "test" % "1.0" % "runtime"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ class Plugins(info: ProjectInfo) extends PluginDefinition(info)
|
|||
|
||||
override def managedStyle = ManagedStyle.Ivy
|
||||
def projectRoot = Path.fromFile(info.projectPath.asFile.getParentFile.getParentFile)
|
||||
val publishTo = Resolver.file("test-repo", (projectRoot /"repo" / "test").asFile)
|
||||
val local = Resolver.file("test-repo", (projectRoot /"repo" / "test").asFile)
|
||||
|
||||
val plug = "test" % "plugins-test" % "1.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue