mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
build: use Kotlin DSL
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
plugins {
|
||||
id 'org.springframework.boot' version '2.7.6'
|
||||
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
|
||||
id 'java'
|
||||
id 'war'
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation('org.springframework.boot:spring-boot-starter-web') {
|
||||
exclude module: "spring-boot-starter-tomcat"
|
||||
}
|
||||
implementation 'commons-io:commons-io:2.19.0'
|
||||
implementation 'net.bytebuddy:byte-buddy:1.10.10'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-jetty'
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
plugins {
|
||||
id("org.springframework.boot") version "2.7.6"
|
||||
id("io.spring.dependency-management") version "1.0.15.RELEASE"
|
||||
id("java")
|
||||
id("war")
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.springframework.boot:spring-boot-starter-web") {
|
||||
exclude(module = "spring-boot-starter-tomcat")
|
||||
}
|
||||
implementation("commons-io:commons-io:2.19.0")
|
||||
implementation("net.bytebuddy:byte-buddy:1.10.10")
|
||||
implementation("org.springframework.boot:spring-boot-starter-jetty")
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
Reference in New Issue
Block a user