50 lines
1.9 KiB
Groovy
50 lines
1.9 KiB
Groovy
plugins {
|
|
id("org.springframework.boot") version "2.7.10"
|
|
id("java")
|
|
}
|
|
|
|
apply plugin: "io.spring.dependency-management"
|
|
|
|
group = "ru.serega6531"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
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("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")
|
|
compileOnly("org.jetbrains:annotations:22.0.0")
|
|
compileOnly("org.projectlombok:lombok")
|
|
runtimeOnly("org.springframework.boot:spring-boot-devtools")
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
annotationProcessor("org.projectlombok:lombok")
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |