From d682b08642e94785599bfefc8c80acf4ac15da13 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 19 Nov 2024 19:22:32 +0100 Subject: [PATCH] refactor: package name --- app/build.gradle.kts | 2 +- .../java/{org/example => de/uni_marburg/powersort}/App.java | 4 ++-- .../{org/example => de/uni_marburg/powersort}/AppTest.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename app/src/main/java/{org/example => de/uni_marburg/powersort}/App.java (73%) rename app/src/test/java/{org/example => de/uni_marburg/powersort}/AppTest.java (90%) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index f273257..ab822aa 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -34,7 +34,7 @@ java { application { // Define the main class for the application. - mainClass = "org.example.App" + mainClass = "de.uni_marburg.powersort.App" } tasks.named("test") { diff --git a/app/src/main/java/org/example/App.java b/app/src/main/java/de/uni_marburg/powersort/App.java similarity index 73% rename from app/src/main/java/org/example/App.java rename to app/src/main/java/de/uni_marburg/powersort/App.java index e7e1af9..23e9332 100644 --- a/app/src/main/java/org/example/App.java +++ b/app/src/main/java/de/uni_marburg/powersort/App.java @@ -1,11 +1,11 @@ /* * This source file was generated by the Gradle 'init' task */ -package org.example; +package de.uni_marburg.powersort; public class App { public String getGreeting() { - return "Hello World!"; + return "Let's bring Powersort to Java!"; } public static void main(String[] args) { diff --git a/app/src/test/java/org/example/AppTest.java b/app/src/test/java/de/uni_marburg/powersort/AppTest.java similarity index 90% rename from app/src/test/java/org/example/AppTest.java rename to app/src/test/java/de/uni_marburg/powersort/AppTest.java index f5ce33d..e8227bc 100644 --- a/app/src/test/java/org/example/AppTest.java +++ b/app/src/test/java/de/uni_marburg/powersort/AppTest.java @@ -1,7 +1,7 @@ /* * This source file was generated by the Gradle 'init' task */ -package org.example; +package de.uni_marburg.powersort; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*;