aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authormrfoxygmfr <mrfoxygmfr@sch9.ru>2025-03-17 12:17:47 +0300
committermrfoxygmfr <mrfoxygmfr@sch9.ru>2025-03-17 12:17:47 +0300
commit72ba4ae3f646b12d7b02094d3d8afd77148f8083 (patch)
treec1ddaa27d18521f5b02a79c625c4a7793f00a1da /src/main/java
feat: init gradle repo
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/ru/mrfoxygmfr/warehouse_accounting/ServletInitializer.java13
-rw-r--r--src/main/java/ru/mrfoxygmfr/warehouse_accounting/WarehouseAccountingApplication.java13
2 files changed, 26 insertions, 0 deletions
diff --git a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/ServletInitializer.java b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/ServletInitializer.java
new file mode 100644
index 0000000..79fbfd2
--- /dev/null
+++ b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/ServletInitializer.java
@@ -0,0 +1,13 @@
+package ru.mrfoxygmfr.warehouse_accounting;
+
+import org.springframework.boot.builder.SpringApplicationBuilder;
+import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
+
+public class ServletInitializer extends SpringBootServletInitializer {
+
+ @Override
+ protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
+ return application.sources(WarehouseAccountingApplication.class);
+ }
+
+}
diff --git a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/WarehouseAccountingApplication.java b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/WarehouseAccountingApplication.java
new file mode 100644
index 0000000..55d9144
--- /dev/null
+++ b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/WarehouseAccountingApplication.java
@@ -0,0 +1,13 @@
+package ru.mrfoxygmfr.warehouse_accounting;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+public class WarehouseAccountingApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(WarehouseAccountingApplication.class, args);
+ }
+
+}