Use static year range in copyright of generated FIR and tests

Dynamically calculating a year is problematic, especially in cases like
FIR where generation happens in every build. When you are working on a
last year's commit, each build creates a bunch of uncommited
 changes of updating the year in copyrights.
This commit is contained in:
Svyatoslav Kuzmich
2021-01-14 16:08:40 +03:00
parent ba8223218f
commit cf228bebc3
6 changed files with 13 additions and 24 deletions
+1
View File
@@ -40,6 +40,7 @@ val generateTree by tasks.registering(NoDebugJavaExec::class) {
outputs.dirs(generationRoot)
args(generationRoot)
workingDir = rootDir
classpath = generatorClasspath
main = "org.jetbrains.kotlin.fir.tree.generator.MainKt"
systemProperties["line.separator"] = "\n"