From ce52622eff4c857684a92ed2c0edfd911628ae95 Mon Sep 17 00:00:00 2001 From: Yuri Sergiichuk Date: Thu, 12 Nov 2020 22:30:30 +0200 Subject: [PATCH] Do not use deprecated `mainClassName` property. --- google-chat-bot/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google-chat-bot/build.gradle.kts b/google-chat-bot/build.gradle.kts index e6e567ed..a36db532 100644 --- a/google-chat-bot/build.gradle.kts +++ b/google-chat-bot/build.gradle.kts @@ -79,7 +79,7 @@ dependencies { } application { - mainClassName = "io.spine.chatbot.Application" + mainClass.set("io.spine.chatbot.Application") } jib { @@ -88,6 +88,6 @@ jib { tags = setOf("latest") } container { - mainClass = application.mainClassName + mainClass = application.mainClass.get() } }