Skip to content

Commit

Permalink
Add spring aot
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Jul 4, 2024
1 parent 2b21285 commit e991a1a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ buildscript {
plugins {
id "java"
id "org.springframework.boot" version "3.3.1"
id "org.springframework.boot.aot" version "3.3.1"
id "idea"
id "com.adarshr.test-logger" version "4.0.0"
}
Expand Down Expand Up @@ -125,6 +126,10 @@ test {
}
}

processAot {
environment("FAF_DOMAIN", "faforever.com")
}

ext {

}
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/config/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ spring:
resourceserver:
jwt:
issuer-uri: ${JWT_FAF_HYDRA_ISSUER:https://hydra.${FAF_DOMAIN}/}
aot:
enabled: true

server:
# Mind that this is configured in the docker compose file as well (that is, in the gradle script that generates it)
Expand Down

0 comments on commit e991a1a

Please sign in to comment.