初始化:实验三

This commit is contained in:
2025-03-26 10:23:27 +08:00
parent 255c56378d
commit 26d263a73c
13 changed files with 487 additions and 25 deletions
+33
View File
@@ -0,0 +1,33 @@
plugins {
id 'java'
id 'war'
}
group 'com.msksbr'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
ext {
junitVersion = '5.11.0'
}
sourceCompatibility = '17'
targetCompatibility = '17'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
compileOnly('jakarta.servlet:jakarta.servlet-api:6.1.0')
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
}
test {
useJUnitPlatform()
}