Initial commit

This commit is contained in:
Dana123098
2025-10-16 13:27:29 +02:00
commit 03f4fc8a9e
5 changed files with 45 additions and 0 deletions

6
.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
/target/
/build/
*.class
*.log
.idea/
.vscode/

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# DemoApplication
Prosty projekt Java z przykładowym plikiem main.

16
build.gradle Normal file
View File

@@ -0,0 +1,16 @@
plugins {
id 'java'
}
group = 'com.example'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
jar {
manifest {
attributes 'Main-Class': 'com.example.demo.DemoApplication'
}
}

13
pom.xml Normal file
View File

@@ -0,0 +1,13 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>demo</artifactId>
<version>1.0-SNAPSHOT</version>
<name>DemoApplication</name>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
</project>

View File

@@ -0,0 +1,7 @@
package com.example.demo;
public class DemoApplication {
public static void main(String[] args) {
System.out.println("Hello from DemoApplication!");
}
}