Update Scala to 3.0.0 final, sbt to 1.5.2 (#30248)

Also: Migrate to sbt slash syntax
This commit is contained in:
Lukas Rytz 2021-05-25 12:50:51 +02:00 committed by GitHub
parent 49759617ab
commit aa03e8b089
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 145 additions and 148 deletions

View file

@ -14,8 +14,8 @@ object CopyrightHeaderForProtobuf extends CopyrightHeader {
Seq(Compile, Test).flatMap { config =>
inConfig(config) {
Seq(
headerSources in config ++=
(((sourceDirectory in config).value / "protobuf") ** "*.proto").get,
config / headerSources ++=
(((config / sourceDirectory).value / "protobuf") ** "*.proto").get,
headerMappings := headerMappings.value ++ Map(HeaderFileType("proto") -> cStyleComment))
}
}