Skip to content
Snippets Groups Projects
Commit c015a0f7 authored by Leon's avatar Leon
Browse files

Upgrade java and gradle version

parent 20d92461
Branches
No related tags found
No related merge requests found
Pipeline #87469 failed
plugins {
id 'org.springframework.boot' version '2.2.2.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'java'
id 'org.springframework.boot' version '3.2.3'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'nl.utwente.soa'
version = '0.1.0'
java {
sourceCompatibility = '1.8'
sourceCompatibility = '21'
}
group = 'nl.utwente.soa'
version = '0.0.1-SNAPSHOT'
repositories {
mavenCentral()
jcenter()
}
dependencies {
// Spring boot
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
// Lombok
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
implementation 'org.springframework.boot:spring-boot-starter-websocket:2.2.2.RELEASE'
// Websockets
compileOnly "jakarta.websocket:jakarta.websocket-api:2.1.1"
implementation 'org.springframework.boot:spring-boot-starter-websocket:3.2.3'
// templating engine
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
}
test {
useJUnitPlatform()
}
}
\ No newline at end of file
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
package nl.utwente.soa.sampleWebapplication.services;
import javax.websocket.EncodeException;
import jakarta.websocket.EncodeException;
import java.io.IOException;
public interface EchoProxyService {
......
package nl.utwente.soa.sampleWebapplication.web;
import jakarta.websocket.EncodeException;
import nl.utwente.soa.sampleWebapplication.services.EchoProxyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
......@@ -10,7 +11,6 @@ import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import javax.websocket.EncodeException;
import java.io.IOException;
@Controller
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment