From 29497654c0dda77651c3057b13701500a6c0d3ef Mon Sep 17 00:00:00 2001 From: jiro4989 Date: Wed, 24 Nov 2021 13:35:33 +0900 Subject: [PATCH] =?UTF-8?q?mainClassName=E3=82=92getMainClass().set?= =?UTF-8?q?=E3=81=AB=E5=A4=89=E6=9B=B4=20#19?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 56d5bad..65c0efb 100644 --- a/build.gradle +++ b/build.gradle @@ -66,9 +66,7 @@ sourceCompatibility = 16 targetCompatibility = 16 application { - // Define the main class for the application. - mainClassName = 'com.jiro4989.tkite.Main' - // mainClassName = 'com.jiro4989.tkite.Main' + getMainClass().set('com.jiro4989.tkite.Main') } compileJava {