From 85ab3832e16817c46a89011834918a3d65625560 Mon Sep 17 00:00:00 2001 From: Abhinay Agarwal Date: Sat, 13 Jul 2024 13:44:18 +0530 Subject: [PATCH] changes as per feedback --- src/main/java/com/gluonhq/gradle/tasks/ConfigBuild.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gluonhq/gradle/tasks/ConfigBuild.java b/src/main/java/com/gluonhq/gradle/tasks/ConfigBuild.java index c45f328..a027013 100644 --- a/src/main/java/com/gluonhq/gradle/tasks/ConfigBuild.java +++ b/src/main/java/com/gluonhq/gradle/tasks/ConfigBuild.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, 2022, Gluon + * Copyright (c) 2019, 2024, Gluon * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -108,7 +108,7 @@ private ProjectConfiguration createSubstrateConfiguration() { mainClass.set(javaApp.getMainClass().getOrNull()); }); // Fallback to deprecated mainClassName - if (!mainClass.isPresent()){ + if (!mainClass.isPresent()) { mainClass.set((String) project.getProperties().get("mainClassName")); }