Currently, we are only performing style checks on Scala files under the 'streams' directory:
// build.gradle
spotless {
scala {
target 'streams/**/*.scala'
scalafmt("$versions.scalafmt").configFile('checkstyle/.scalafmt.conf').scalaMajorVersion(versions.baseScala)
licenseHeaderFile 'checkstyle/java.header', 'package'
}
}
Once the project stabilizes, we can perform similar checks on the Scala files we have modified under the 'core' directory.