mirror of https://github.com/sbt/sbt.git
fix src-dep-plugin
This commit is contained in:
parent
654d35d1ba
commit
85943bc33b
|
|
@ -1,5 +1,6 @@
|
|||
import Configurations.{CompilerPlugin => CPlugin}
|
||||
|
||||
lazy val use = project.dependsOn(RootProject(file("def")) % CPlugin).settings(
|
||||
autoCompilerPlugins := true
|
||||
)
|
||||
lazy val use = project
|
||||
.dependsOn(RootProject(file("def")) % Configurations.CompilerPlugin)
|
||||
.settings(
|
||||
scalaVersion := "2.12.17",
|
||||
autoCompilerPlugins := true
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ name := "demo-compiler-plugin"
|
|||
|
||||
version := "0.1"
|
||||
|
||||
scalaVersion := "2.12.17"
|
||||
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value % "provided"
|
||||
|
||||
exportJars := true
|
||||
Loading…
Reference in New Issue