From 72ba4ae3f646b12d7b02094d3d8afd77148f8083 Mon Sep 17 00:00:00 2001 From: mrfoxygmfr Date: Mon, 17 Mar 2025 12:17:47 +0300 Subject: feat: init gradle repo --- .../mrfoxygmfr/warehouse_accounting/ServletInitializer.java | 13 +++++++++++++ .../WarehouseAccountingApplication.java | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 src/main/java/ru/mrfoxygmfr/warehouse_accounting/ServletInitializer.java create mode 100644 src/main/java/ru/mrfoxygmfr/warehouse_accounting/WarehouseAccountingApplication.java (limited to 'src/main/java') 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); + } + +} -- cgit mrf-deployment