From f687f03b9ace885c0128436bd3abbc9d2cb393ac Mon Sep 17 00:00:00 2001 From: mensc <954787484@qq.com> Date: Thu, 20 Jun 2024 07:00:28 +0800 Subject: [PATCH] first commit --- .gitignore | 33 ++++++++++++ .mvn/wrapper/maven-wrapper.properties | 19 +++++++ pom.xml | 54 +++++++++++++++++++ .../java/com/mtz/qqbot/QqBotApplication.java | 13 +++++ src/main/resources/application.properties | 1 + .../com/mtz/qqbot/QqBotApplicationTests.java | 13 +++++ 6 files changed, 133 insertions(+) create mode 100644 .gitignore create mode 100644 .mvn/wrapper/maven-wrapper.properties create mode 100644 pom.xml create mode 100644 src/main/java/com/mtz/qqbot/QqBotApplication.java create mode 100644 src/main/resources/application.properties create mode 100644 src/test/java/com/mtz/qqbot/QqBotApplicationTests.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..549e00a --- /dev/null +++ b/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties new file mode 100644 index 0000000..8f96f52 --- /dev/null +++ b/.mvn/wrapper/maven-wrapper.properties @@ -0,0 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +wrapperVersion=3.3.2 +distributionType=only-script +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.7/apache-maven-3.9.7-bin.zip diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..2441bb7 --- /dev/null +++ b/pom.xml @@ -0,0 +1,54 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.3.0 + + + com.mtz + QQ-Bot + 0.0.1-SNAPSHOT + QQ-Bot + QQ-Bot + + + + + + + + + + + + + + + 21 + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/src/main/java/com/mtz/qqbot/QqBotApplication.java b/src/main/java/com/mtz/qqbot/QqBotApplication.java new file mode 100644 index 0000000..cc2d805 --- /dev/null +++ b/src/main/java/com/mtz/qqbot/QqBotApplication.java @@ -0,0 +1,13 @@ +package com.mtz.qqbot; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class QqBotApplication { + + public static void main(String[] args) { + SpringApplication.run(QqBotApplication.class, args); + } + +} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..2b25073 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=QQ-Bot diff --git a/src/test/java/com/mtz/qqbot/QqBotApplicationTests.java b/src/test/java/com/mtz/qqbot/QqBotApplicationTests.java new file mode 100644 index 0000000..98d2f12 --- /dev/null +++ b/src/test/java/com/mtz/qqbot/QqBotApplicationTests.java @@ -0,0 +1,13 @@ +package com.mtz.qqbot; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class QqBotApplicationTests { + + @Test + void contextLoads() { + } + +}