feat: initial commit for subproject 'editor'

This commit is contained in:
Andrey Terentev 2025-01-14 17:09:52 +07:00
parent 399857a7b5
commit a7279b9891
6 changed files with 92 additions and 2 deletions

4
.gitignore vendored
View File

@ -24,4 +24,6 @@ bin/
.vscode/
.DS_Store
run/
run/
tarkov/

38
editor/.gitignore vendored Normal file
View File

@ -0,0 +1,38 @@
node_modules
HELP.md
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/

32
editor/build.gradle Normal file
View File

@ -0,0 +1,32 @@
plugins {
id 'org.springframework.boot' version '3.4.1'
id 'io.spring.dependency-management' version '1.1.7'
id 'com.vaadin' version '24.6.1'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
ext {
set('vaadinVersion', "24.6.1")
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'com.vaadin:vaadin-spring-boot-starter'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
dependencyManagement {
imports {
mavenBom "com.vaadin:vaadin-bom:${vaadinVersion}"
}
}

View File

@ -0,0 +1,12 @@
package ru.dragonestia.editor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class EditorApplication {
public static void main(String[] args) {
SpringApplication.run(EditorApplication.class, args);
}
}

View File

@ -0,0 +1,6 @@
spring:
application:
name: 'editor'
server:
port: 8080

View File

@ -1,3 +1,3 @@
rootProject.name = 'msb3'
include 'api'
include 'api', 'editor'