Redoing gradle build without idea

The project structure was not as I liked
So I made a new one without idea and with simple gradle init
This commit is contained in:
tonitch committed 2023-04-02 21:27:49 +02:00
1 parent 6f99b82fd9
commit 58f17472d8
25 files changed
+300 -258

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
/*
* This Java source file was generated by the Gradle 'init' task.
*/
package jchess;
public class App {
public String getGreeting() {
return "Hello World!";
}
public static void main(String[] args) {
System.out.println(new App().getGreeting());
}
}
+14
View File
@@ -0,0 +1,14 @@
/*
* This Java source file was generated by the Gradle 'init' task.
*/
package jchess;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class AppTest {
@Test void appHasAGreeting() {
App classUnderTest = new App();
assertNotNull(classUnderTest.getGreeting(), "app should have a greeting");
}
}