Use lazy val's in sbt build (#1016)

This commit is contained in:
Matthew de Detrich 2024-01-22 07:15:16 +01:00 committed by GitHub
parent 9b00480828
commit 98d479f89f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 244 additions and 271 deletions

View file

@ -17,7 +17,7 @@ import com.typesafe.config.ConfigFactory
import sbt.ConsoleLogger
class ProjectFileIgnoreSupport(ignoreConfigFile: File, descriptor: String) {
private val stdoutLogger = ConsoleLogger(System.out)
private lazy val stdoutLogger = ConsoleLogger(System.out)
private val javaSourceDirectories = Set("java", Jdk9.JAVA_SOURCE_DIRECTORY, Jdk9.JAVA_TEST_SOURCE_DIRECTORY)