chore: unify project version

This commit is contained in:
ReaJason
2025-02-02 22:20:47 +08:00
parent 4f8ab4d16a
commit 29edaf173a
12 changed files with 28 additions and 12 deletions
+4 -2
View File
@@ -5,7 +5,7 @@ plugins {
}
group = 'com.reajason.javaweb'
version = ''
version = rootProject.version
java {
toolchain {
@@ -19,6 +19,8 @@ def runtimeJvmArgs = [
'--add-opens=java.xml/com.sun.org.apache.xalan.internal.xsltc.runtime=ALL-UNNAMED'
]
tasks.processResources { filesMatching("**/application.yaml") { expand(project.properties) } }
tasks.withType(JavaCompile).configureEach {
options.compilerArgs += [
'--add-exports=java.xml/com.sun.org.apache.xalan.internal.xsltc.trax=ALL-UNNAMED',
@@ -52,7 +54,7 @@ dependencies {
implementation 'org.apache.bcel:bcel'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation('org.springframework.boot:spring-boot-starter-web') {
exclude group:'org.springframework.boot', module:'spring-boot-starter-tomcat'
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat'
}
implementation 'org.springframework.boot:spring-boot-starter-undertow'
implementation 'com.google.code.gson:gson:2.11.0'
+2 -1
View File
@@ -1,3 +1,4 @@
spring:
application:
name: boot
name: boot
version: ${version}
+10
View File
@@ -0,0 +1,10 @@
__ __ ____ _ _ _ ____ _
| \/ | ___ _ __ ___ / ___|| |__ ___| | | _ \ __ _ _ __| |_ _ _
| |\/| |/ _ \ '_ ` _ \\___ \| '_ \ / _ \ | | |_) / _` | '__| __| | | |
| | | | __/ | | | | |___) | | | | __/ | | __/ (_| | | | |_| |_| |
|_| |_|\___|_| |_| |_|____/|_| |_|\___|_|_|_| \__,_|_| \__|\__, |
|___/
Author: ReaJason
Repo: https://github.com/ReaJason/MemShellParty
===================================================================
::${AnsiColor.BRIGHT_GREEN} MemShell Party ${AnsiColor.DEFAULT}:: (v${application.version})