fix src-dep-plugin

This commit is contained in:
Adrien Piquerez 2024-03-26 14:38:03 +01:00
parent 654d35d1ba
commit 85943bc33b
3 changed files with 7 additions and 5 deletions

View File

@ -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
)

View File

@ -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