Skip to content

Commit 49b1cca

Browse files
authored
Merge pull request #425 from RenFraser/gradle-deprecated-features
Fix gradle deprecation warnings
2 parents 2139cee + f8a4f56 commit 49b1cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ val serverMainClassName = "org.javacs.kt.MainKt"
2020
val applicationName = "kotlin-language-server"
2121

2222
application {
23-
mainClassName = serverMainClassName
23+
mainClass.set(serverMainClassName)
2424
description = "Code completions, diagnostics and more for Kotlin"
2525
applicationDefaultJvmArgs = listOf("-DkotlinLanguageServer.version=$projectVersion")
2626
applicationDistribution.into("bin") {

0 commit comments

Comments
 (0)