@@ -10,7 +10,7 @@ buildscript {
10
10
}
11
11
12
12
plugins {
13
- id ' org.springframework.boot' version ' 3.4.0'
13
+ id ' org.springframework.boot' version ' 3.4.0' apply false // 加上 apply false
14
14
id ' io.spring.dependency-management' version ' 1.1.6'
15
15
id ' com.github.jk1.dependency-license-report' version ' 2.9'
16
16
@@ -35,7 +35,7 @@ licenseReport {
35
35
36
36
allprojects {
37
37
group = ' tpi.dgrv4'
38
- version = ' release-rc-v4.4.11 .0-gd0900e2 '
38
+ version = ' release-rc-v4.4.14 .0-gcc13a9359 '
39
39
apply plugin : ' io.spring.dependency-management'
40
40
41
41
repositories {
@@ -57,14 +57,13 @@ subprojects {
57
57
apply plugin : ' java-library'
58
58
apply plugin : ' eclipse'
59
59
60
- sourceCompatibility = ' 17 '
61
- targetCompatibility = ' 17 '
60
+ sourceCompatibility = ' 21 '
61
+ targetCompatibility = ' 21 '
62
62
63
63
64
64
dependencies {
65
- implementation files(" ${ rootDir} /libsext/dgrv4_CodecUtil-v4.4.11.0-2-gd0900e21d-lib.jar" )
66
- implementation files(" ${ rootDir} /libsext/dgrv4_HttpUtil-v4.4.11.0-2-gd0900e21d-lib.jar" )
67
- implementation files(" ${ rootDir} /libsext/onlineConsole-v1.0-55-gdc3e362.jar" )
65
+ implementation files(" ${ rootDir} /libsext/dgrv4_CodecUtil-v4.4.14.0-4-gcc13a9359-lib.jar" )
66
+ implementation files(" ${ rootDir} /libsext/dgrv4_HttpUtil-v4.4.14.0-4-gcc13a9359-lib.jar" )
68
67
69
68
implementation (' org.springframework.boot:spring-boot-starter-data-jpa' ){
70
69
exclude group : ' ch.qos.logback' , module : ' logback-classic'
@@ -87,7 +86,7 @@ subprojects {
87
86
implementation ' org.jboss.xnio:xnio-nio:3.8.16.Final'
88
87
implementation ' jakarta.servlet:jakarta.servlet-api:6.1.0'
89
88
90
- implementation ' com.h2database:h2'
89
+ compileOnly ' com.h2database:h2'
91
90
testImplementation ' org.springframework.boot:spring-boot-starter-test'
92
91
compileOnly ' org.projectlombok:lombok:1.18.32'
93
92
annotationProcessor ' org.projectlombok:lombok:1.18.32'
@@ -121,7 +120,7 @@ subprojects {
121
120
}
122
121
from(configurations. runtimeClasspath){
123
122
include ' **/google-cloud-logging-logback*.jar'
124
- include ' **/bcprov-jdk15on *.jar'
123
+ include ' **/bcprov-jdk18on *.jar'
125
124
include ' **/aws-java-sdk*.jar'
126
125
include ' **/h2-*.jar'
127
126
include ' **/mariadb-java-client-*.jar'
@@ -134,7 +133,7 @@ subprojects {
134
133
}
135
134
}
136
135
137
- def getDate () {
136
+ static def getDate () {
138
137
return new Date (). format(' yyyyMMdd_HHmm' )
139
138
}
140
139
@@ -194,15 +193,19 @@ project(':dgrv4_Gateway_serv'){
194
193
195
194
196
195
// compileOnly: JDBC Driver 5 種
196
+ implementation ' com.h2database:h2'
197
197
implementation project(' :dgrv4_H2Config_lib' )
198
198
implementation ' com.microsoft.sqlserver:mssql-jdbc'
199
199
implementation ' com.oracle.database.jdbc:ojdbc11'
200
200
implementation ' org.postgresql:postgresql'
201
201
implementation(' org.mariadb.jdbc:mariadb-java-client:3.1.2' , {
202
202
exclude group : ' net.java.dev.jna' , module : ' jna-platform' // 使用其它版本的相依
203
+ exclude group : ' com.google.protobuf' , module : ' protobuf-java'
203
204
})
205
+
206
+ // 修正上方排除的
207
+ compileOnly ' com.google.protobuf:protobuf-java:3.25.5'
204
208
205
- implementation ' org.springframework.boot:spring-boot-starter-freemarker:3.3.4'
206
209
}
207
210
208
211
task createVersionTxt() {
@@ -281,8 +284,7 @@ project(':dgrv4_Entity_lib'){
281
284
dependencies{
282
285
implementation project(' :dgrv4_Common_lib' )
283
286
compileOnly ' org.apache.commons:commons-lang3:3.12.0'
284
- compileOnly ' com.oracle.database.jdbc:ojdbc11'
285
-
287
+
286
288
// Kryo Serialization
287
289
compileOnly ' com.esotericsoftware:kryo:5.4.0'
288
290
}
0 commit comments