[Build] Fix configuration cache issues (part 2)
* Make WriteCopyrightToFile task compatible with configuration cache * Configure shadowJar task in compatible with configuration cache way * Configure compileJava9Java task in compatible with configuration cache way * Make :js:js.tests buildscript compatible with configuration cache Relates to #KT-44611
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
|
||||
import org.gradle.jvm.tasks.Jar
|
||||
|
||||
description = "Compiler runner + daemon client"
|
||||
|
||||
plugins {
|
||||
|
||||
@@ -20,8 +20,8 @@ dependencies {
|
||||
}
|
||||
|
||||
val writeCopyright by task<tasks.WriteCopyrightToFile> {
|
||||
outputFile = file("$buildDir/copyright/notice.txt")
|
||||
commented = true
|
||||
outputFile.set(file("$buildDir/copyright/notice.txt"))
|
||||
commented.set(true)
|
||||
}
|
||||
|
||||
application {
|
||||
|
||||
@@ -28,8 +28,8 @@ dependencies {
|
||||
}
|
||||
|
||||
val writeCopyright by task<WriteCopyrightToFile> {
|
||||
outputFile = file("$buildDir/copyright/notice.txt")
|
||||
commented = true
|
||||
outputFile.set(file("$buildDir/copyright/notice.txt"))
|
||||
commented.set(true)
|
||||
}
|
||||
|
||||
application {
|
||||
|
||||
Reference in New Issue
Block a user