-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from kubukoz/add-scala3
Add Scala 3 support
- Loading branch information
Showing
7 changed files
with
63 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
rules = [ | ||
DisableSyntax, | ||
OrganizeImports, | ||
NoValInForComprehension, | ||
] | ||
|
||
OrganizeImports { | ||
removeUnused = false | ||
expandRelative = true | ||
groupedImports = Explode | ||
groups = [ | ||
"re:javax?\\." | ||
"scala." | ||
"ch.epfl" | ||
"bloop" | ||
"*" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
config/src-2/bloop/config/SourceGeneratorCompanionPlatform.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package bloop.config | ||
|
||
import scala.runtime.AbstractFunction3 | ||
|
||
// needed for binary compat with 2.0.2 | ||
trait SourceGeneratorCompanionPlatform | ||
extends AbstractFunction3[ | ||
List[Config.SourcesGlobs], | ||
PlatformFiles.Path, | ||
List[String], | ||
Config.SourceGenerator | ||
] {} |
3 changes: 3 additions & 0 deletions
3
config/src-3/bloop/config/SourceGeneratorCompanionPlatform.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package bloop.config | ||
|
||
trait SourceGeneratorCompanionPlatform {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters