From cd7ef6eaf7092626d43eefd006b63e626467719a Mon Sep 17 00:00:00 2001
From: a23022716 <celia.arezki.1@etu.univ-amu.fr>
Date: Fri, 11 Oct 2024 11:25:05 +0200
Subject: [PATCH] fix build.gradle to have the perfect result

---
 build.gradle                          | 2 +-
 src/main/java/shape/tp5/ShapeApp.java | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/build.gradle b/build.gradle
index 20534b2..9477fce 100644
--- a/build.gradle
+++ b/build.gradle
@@ -20,7 +20,7 @@ dependencies {
     testImplementation 'org.hamcrest:hamcrest-library:1.3'
 }
 
-mainClassName = "shape.App"
+mainClassName = "shape.tp5.ShapeApp"
 
 
 test {
diff --git a/src/main/java/shape/tp5/ShapeApp.java b/src/main/java/shape/tp5/ShapeApp.java
index 076f19b..e246162 100644
--- a/src/main/java/shape/tp5/ShapeApp.java
+++ b/src/main/java/shape/tp5/ShapeApp.java
@@ -6,7 +6,6 @@ import javafx.scene.layout.StackPane;
 import javafx.stage.Stage;
 
 public class ShapeApp extends Application {
-    @Override
     public void start(Stage primaryStage) {
         Drawer drawer = new Drawer(400, 400);
         StackPane root = new StackPane(drawer);
@@ -19,4 +18,4 @@ public class ShapeApp extends Application {
     public static void main(String[] args) {
         launch(args);
     }
-}
\ No newline at end of file
+}
-- 
GitLab