chore: config tweaks

This commit is contained in:
gfxv 2025-03-12 18:58:53 +03:00
parent c1a35325d6
commit f1cb78339e
2 changed files with 34 additions and 8 deletions

35
pom.xml
View File

@ -28,6 +28,8 @@
</scm> </scm>
<properties> <properties>
<java.version>21</java.version> <java.version>21</java.version>
<lombok.version>1.18.34</lombok.version> <!-- Latest version as of March 2025 -->
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
@ -46,13 +48,12 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
</dependency> </dependency>
<!-- <dependency>-->
<dependency> <!-- <groupId>org.springframework.boot</groupId>-->
<groupId>org.springframework.boot</groupId> <!-- <artifactId>spring-boot-devtools</artifactId>-->
<artifactId>spring-boot-devtools</artifactId> <!-- <scope>runtime</scope>-->
<scope>runtime</scope> <!-- <optional>true</optional>-->
<optional>true</optional> <!-- </dependency>-->
</dependency>
<dependency> <dependency>
<groupId>org.postgresql</groupId> <groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId> <artifactId>postgresql</artifactId>
@ -66,6 +67,7 @@
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<!-- <version>1.18.34</version>-->
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency> <dependency>
@ -78,6 +80,25 @@
<artifactId>spring-security-test</artifactId> <artifactId>spring-security-test</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- JWT Dependencies -->
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
<version>0.11.5</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>0.11.5</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
<version>0.11.5</version>
<scope>runtime</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>

View File

@ -1,7 +1,12 @@
spring.application.name=blps spring.application.name=blps
spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/youtube?stringtype=unspecified spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/youtube?stringtype=unspecified
spring.datasource.username=admin spring.datasource.username=admin
spring.datasource.password=password spring.datasource.password=password
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
# 100 days # 100 days
jwt.expiration=8640000000 jwt.expiration=8640000000
jwt.secret=sosal jwt.secret=rashuyar_menya_metalolomom_umolyau-ihFpH2GtiE3Wc4JJEW94mPEBFexnPWWwScVi9Aym