Use gradle.kts
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
plugins {
|
||||
id("org.springframework.boot") version "2.7.10"
|
||||
id("java")
|
||||
id("io.spring.dependency-management") version "1.1.0"
|
||||
}
|
||||
|
||||
apply plugin: "io.spring.dependency-management"
|
||||
|
||||
group = "ru.serega6531"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
configurations {
|
||||
compileOnly {
|
||||
extendsFrom annotationProcessor
|
||||
get("compileOnly").apply {
|
||||
extendsFrom(configurations.annotationProcessor.get())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,15 +29,15 @@ dependencies {
|
||||
implementation("org.springframework.boot:spring-boot-starter-websocket")
|
||||
implementation("org.springframework.session:spring-session-core")
|
||||
implementation("com.github.jmnarloch:modelmapper-spring-boot-starter:1.1.0")
|
||||
implementation(group: "org.apache.commons", name: "commons-lang3", version: "3.12.0")
|
||||
implementation(group: "commons-io", name: "commons-io", version: "2.11.0")
|
||||
implementation(group = "org.apache.commons", name = "commons-lang3", version = "3.12.0")
|
||||
implementation(group = "commons-io", name = "commons-io", version = "2.11.0")
|
||||
implementation("org.pcap4j:pcap4j-core:1.8.2")
|
||||
implementation("org.pcap4j:pcap4j-packetfactory-static:1.8.2")
|
||||
implementation(group: "com.google.guava", name: "guava", version: "31.0.1-jre")
|
||||
implementation(group: "org.java-websocket", name: "Java-WebSocket", version: "1.5.1")
|
||||
implementation(group: "org.bouncycastle", name: "bcprov-jdk15on", version: "1.69")
|
||||
implementation(group: "org.bouncycastle", name: "bctls-jdk15on", version: "1.70")
|
||||
implementation(group: "org.modelmapper", name: "modelmapper", version: "2.4.5")
|
||||
implementation(group = "com.google.guava", name = "guava", version = "31.0.1-jre")
|
||||
implementation(group = "org.java-websocket", name = "Java-WebSocket", version = "1.5.1")
|
||||
implementation(group = "org.bouncycastle", name = "bcprov-jdk15on", version = "1.69")
|
||||
implementation(group = "org.bouncycastle", name = "bctls-jdk15on", version = "1.70")
|
||||
implementation(group = "org.modelmapper", name = "modelmapper", version = "2.4.5")
|
||||
compileOnly("org.jetbrains:annotations:22.0.0")
|
||||
compileOnly("org.projectlombok:lombok")
|
||||
runtimeOnly("org.springframework.boot:spring-boot-devtools")
|
||||
@@ -45,6 +46,6 @@ dependencies {
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
|
||||
}
|
||||
|
||||
test {
|
||||
tasks.getByName<Test>("test") {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
@@ -3,4 +3,4 @@ pluginManagement {
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
rootProject.name = 'packmate'
|
||||
rootProject.name = "packmate"
|
||||
Reference in New Issue
Block a user