Skip to content

Commit

Permalink
changes as per feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinayagarwal committed Jul 13, 2024
1 parent f15beb1 commit 85ab383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/gluonhq/gradle/tasks/ConfigBuild.java
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"));
}

Expand Down

0 comments on commit 85ab383

Please sign in to comment.