refactor: unify code style

This commit is contained in:
ReaJason
2024-12-20 23:26:13 +08:00
parent 75019e9847
commit c7c4b8be84
146 changed files with 3865 additions and 5631 deletions
+37
View File
@@ -0,0 +1,37 @@
group = 'com.reajason.javaweb'
version = ''
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6
}
dependencies {
implementation 'javax.servlet:javax.servlet-api:3.0.1'
implementation 'javax.websocket:javax.websocket-api:1.1'
implementation('org.apache.tomcat:tomcat-catalina:8.5.58') {
exclude group: 'org.apache.tomcat', module: 'tomcat-api'
exclude group: 'org.apache.tomcat', module: 'tomcat-juli'
exclude group: 'org.apache.tomcat', module: 'tomcat-jni'
exclude group: 'org.apache.tomcat', module: 'tomcat-coyote'
exclude group: 'org.apache.tomcat', module: 'tomcat-util'
exclude group: 'org.apache.tomcat', module: 'tomcat-util-scan'
exclude group: 'org.apache.tomcat', module: 'tomcat-annotations-api'
exclude group: 'org.apache.tomcat', module: 'tomcat-el-api'
exclude group: 'org.apache.tomcat', module: 'tomcat-jsp-api'
exclude group: 'org.apache.tomcat', module: 'tomcat-servlet-api'
exclude group: 'org.apache.tomcat', module: 'tomcat-jaspic-api'
}
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
test {
useJUnitPlatform()
}