Add: Default java project with gradle
Code Analysis (Bandit) / bandit (push) Failing after 2s
Linting (Ruff) / ruff (push) Failing after 2s
Linting (Ruff) / ruff (pull_request) Failing after 2s

This commit is contained in:
2026-06-01 19:52:48 +02:00
parent a24fd875d8
commit dd4a037479
9 changed files with 445 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
/*
* This source file was generated by the Gradle 'init' task
*/
package postit;
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 source file was generated by the Gradle 'init' task
*/
package postit;
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");
}
}