Skip to content

Commit

Permalink
Merge pull request #76 from MCBanners/springboot-3
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjack authored May 1, 2023
2 parents 001cf94 + 45814ff commit f32fbb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("org.springframework.boot") version "2.7.11"
id("org.springframework.boot") version "3.0.6"
id("io.spring.dependency-management") version "1.1.0"
id("java")
}
Expand All @@ -19,7 +19,7 @@ repositories {

dependencies {
// spring cloud BOM
implementation(platform("org.springframework.cloud:spring-cloud-dependencies:2021.0.7"))
implementation(platform("org.springframework.cloud:spring-cloud-dependencies:2022.0.2"))

// spring dependencies
implementation("org.springframework.cloud:spring-cloud-starter-gateway")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
public class ApiGatewayApplication {
public static void main(String[] args) {
SpringApplication.run(ApiGatewayApplication.class, args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import io.jsonwebtoken.JwtParser;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.security.Keys;
import jakarta.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.crypto.SecretKey;

@Component
Expand Down

0 comments on commit f32fbb0

Please sign in to comment.