Skip to content

Commit 677ca5e

Browse files
authored
Resolve 2 Kotlin compile time errors in build.gradle.kts (#8492)
1 parent d823dca commit 677ca5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ tasks {
279279

280280
// A task to print the classpath used for compiling an IntelliJ plugin
281281
// Run with `./gradlew printCompileClasspath --no-configuration-cache `
282-
tasks.register("printCompileClasspath") {
282+
tasks.register<Task>("printCompileClasspath") {
283283
doLast {
284284
println("--- Begin Compile Classpath ---")
285285
configurations.getByName("compileClasspath").forEach { file ->
@@ -291,7 +291,7 @@ tasks.register("printCompileClasspath") {
291291

292292
// This finds the JxBrowser license key from the environment and writes it to a file.
293293
// This is only used by the dev build on kokoro for now.
294-
val writeLicenseKey = tasks.register("writeLicenseKey") {
294+
val writeLicenseKey = tasks.register<Task>("writeLicenseKey") {
295295
group = "build"
296296
description = "Writes the license key from an environment variable to a file."
297297

0 commit comments

Comments
 (0)