From a9dfe515243dd085890dfae120443b5c6f5a1ff4 Mon Sep 17 00:00:00 2001 From: idwtd Date: Fri, 21 Aug 2020 22:13:20 -0700 Subject: Revert "Bump gradle and use the `mainClass` property" This reverts commit 3dd11065699b39861d2db7522bb6f07c4ee94387--- enigma-cli/build.gradle | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'enigma-cli') diff --git a/enigma-cli/build.gradle b/enigma-cli/build.gradle index 34906131..fcd3f0d4 100644 --- a/enigma-cli/build.gradle +++ b/enigma-cli/build.gradle @@ -7,11 +7,9 @@ dependencies { implementation project(':enigma') } -application { - mainClass = 'cuchaz.enigma.command.Main' -} +mainClassName = 'cuchaz.enigma.command.Main' -jar.manifest.attributes 'Main-Class': application.mainClass +jar.manifest.attributes 'Main-Class': mainClassName publishing { publications { -- cgit v1.2.3