Skip to content

Commit

Permalink
Fixing deprecated message
Browse files Browse the repository at this point in the history
  • Loading branch information
harishkannarao committed Apr 16, 2021
1 parent 26f0501 commit fbbf2cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions application/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
plugins {
application
id("application")
id("com.github.johnrengelman.shadow")
}

application {
mainClassName = "com.harishkannarao.kotlin.exercise.DemoApplication"
mainClass.set("com.harishkannarao.kotlin.exercise.DemoApplication")
}

project.setProperty("mainClassName", application.mainClass.get())

tasks {
named<JavaExec>("run") {
val properties = System.getProperties().entries.associate { it.key.toString() to it.value }
Expand Down

0 comments on commit fbbf2cd

Please sign in to comment.