Обновлены зависимости

This commit is contained in:
serega6531
2020-12-29 22:01:10 +03:00
parent 2026f370ee
commit 4d1d581448
3 changed files with 7 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot' version '2.2.6.RELEASE'
id 'org.springframework.boot' version '2.4.1'
id 'java'
}
@@ -8,8 +8,8 @@ apply plugin: 'io.spring.dependency-management'
group = 'ru.serega6531'
version = '1.0-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_14 // сменить на 15 после фикса https://github.com/rzwitserloot/lombok/issues/2579
targetCompatibility = JavaVersion.VERSION_14
sourceCompatibility = JavaVersion.VERSION_15
targetCompatibility = JavaVersion.VERSION_15
configurations {
compileOnly {
@@ -31,10 +31,10 @@ dependencies {
compile group: 'commons-io', name: 'commons-io', version: '2.7'
compile 'org.pcap4j:pcap4j-core:1.8.2'
compile 'org.pcap4j:pcap4j-packetfactory-static:1.8.2'
compile group: 'com.google.guava', name: 'guava', version: '28.2-jre'
compile group: 'com.google.guava', name: 'guava', version: '30.1-jre'
compile group: 'org.java-websocket', name: 'Java-WebSocket', version: '1.5.1'
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.65'
compile group: 'org.bouncycastle', name: 'bctls-jdk15on', version: '1.65'
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.68'
compile group: 'org.bouncycastle', name: 'bctls-jdk15on', version: '1.68'
compile group: 'org.modelmapper', name: 'modelmapper', version: '2.3.0'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.springframework.boot:spring-boot-devtools'

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@@ -104,7 +104,6 @@ public class ApplicationConfiguration extends WebSecurityConfigurerAdapter imple
@Override
public void registerWebSocketHandlers(WebSocketHandlerRegistry registry) {
registry.addHandler(webSocketHandler, "/api/ws")
.setAllowedOrigins("*")
.withSockJS();
}
}