chore: unify project version

This commit is contained in:
ReaJason
2025-02-02 22:20:47 +08:00
parent 5b9b890fc8
commit a446da4bb7
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})
+2
View File
@@ -1,3 +1,5 @@
version = project.hasProperty('version') ? version : '1.0.0'
allprojects {
if (it.name != 'bom') {
apply(plugin: 'java')
+1 -1
View File
@@ -3,7 +3,7 @@ plugins {
}
group = 'com.reajason.javaweb'
version = ''
version = rootProject.version
java {
sourceCompatibility = JavaVersion.VERSION_1_8
+1
View File
@@ -3,6 +3,7 @@ plugins {
}
group = 'com.reajason.javaweb'
version = rootProject.version
dependencies {
implementation 'net.bytebuddy:byte-buddy'
+1 -1
View File
@@ -9,7 +9,7 @@ java {
}
group = 'com.reajason.javaweb.memsell'
version = '1.0-SNAPSHOT'
version = rootProject.version
test {
useJUnitPlatform()
+1 -1
View File
@@ -3,7 +3,7 @@ plugins {
}
group = 'com.reajason.javaweb'
version = ''
version = rootProject.version
dependencies {
testImplementation project(":vul:vul-webapp")
+1 -1
View File
@@ -1,5 +1,5 @@
group = 'com.reajason.javaweb'
version = ''
version = rootProject.version
java {
sourceCompatibility = JavaVersion.VERSION_1_8
+1 -1
View File
@@ -1,5 +1,5 @@
group = 'com.reajason.javaweb'
version = ''
version = rootProject.version
java {
+2 -2
View File
@@ -2,8 +2,8 @@ plugins {
id "io.freefair.lombok" version "8.11"
}
group = 'com.reajason.javaweb'
version = ''
group = 'com.reajason.javaweb.tools'
version = rootProject.version
java {
toolchain {
+2 -2
View File
@@ -3,8 +3,8 @@ plugins {
}
group = 'com.reajason.javaweb'
version = ''
group = 'com.reajason.javaweb.tools'
version = rootProject.version
java {
sourceCompatibility = JavaVersion.VERSION_1_8