Skip to content

Commit

Permalink
Merge pull request #237 from Jentsch/resolve-in-syntax
Browse files Browse the repository at this point in the history
Resolve in syntax
  • Loading branch information
Atry authored Dec 28, 2024
2 parents bcb058b + 8be8836 commit 7c7e64c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- 2.12.15

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Need the git history for sbt-dynver to determine the version
- name: Set up JDK 11
Expand Down
6 changes: 3 additions & 3 deletions src/main/scala/com/thoughtworks/Example.scala
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,8 @@ object Example extends AutoPlugin {
generateExample / fileInputs := (Compile / unmanagedSources / fileInputs).value,
generateExample := {
val outputFile =
(sourceManaged in Test).value / "sbt-example-generated.scala"
val logger = (streams in generateExample).value.log
(Test / sourceManaged).value / "sbt-example-generated.scala"
val logger = (generateExample / streams).value.log
val compileDialect = (Compile / exampleDialect).value
val testDialect = (Test / autoImport.exampleDialect).value
val content = generateExample.inputFiles.view.flatMap { file =>
Expand All @@ -501,7 +501,7 @@ object Example extends AutoPlugin {
)
Seq(outputFile)
},
(sourceGenerators in Test) += {
(Test / sourceGenerators) += {
generateExample.taskValue
}
) ++
Expand Down

0 comments on commit 7c7e64c

Please sign in to comment.