Gradle setup (#2)
Build and Deploy Java Gradle Application / build-and-deploy (push) Successful in 1m47s

This commit was merged in pull request #2.
This commit is contained in:
florian committed 2026-09-03 10:28:19 +01:00
1 parent 3b579fdb6b
commit 34edf9cd1b
30 files changed
+547 -455

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
plugins {
id("org.springframework.boot") version "3.5.5"
id("io.spring.dependency-management") version "1.1.7"
}
dependencies {
implementation(project(":codiki-domain"))
implementation(project(":codiki-application"))
implementation(project(":codiki-infrastructure"))
implementation(project(":codiki-exposition"))
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-devtools")
}
springBoot {
mainClass = "org.codiki.launcher.ApplicationLauncher"
}
-57
View File
@@ -1,57 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.codiki</groupId>
<artifactId>codiki-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<artifactId>codiki-launcher</artifactId>
<name>codiki-launcher</name>
<description>Demo project for Spring Boot</description>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.codiki</groupId>
<artifactId>codiki-exposition</artifactId>
</dependency>
<dependency>
<groupId>org.codiki</groupId>
<artifactId>codiki-application</artifactId>
</dependency>
<dependency>
<groupId>org.codiki</groupId>
<artifactId>codiki-domain</artifactId>
</dependency>
<dependency>
<groupId>org.codiki</groupId>
<artifactId>codiki-infrastructure</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
@@ -0,0 +1,33 @@
application:
security:
jwt:
secretKey: "secret-key"
expirationDelayInMinutes: 30
refreshToken:
expirationDelayInDays: 7
pictures:
path: /opt/codiki/pictures/
temp-path: /opt/codiki/pictures/temp/
logging:
level:
org.springframework.security: DEBUG
server:
http2:
enabled: true
error:
whitelabel:
enabled: false # Disable html error responses.
include-stacktrace: never
spring:
datasource:
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://codiki-database:5432/codiki_db
username: codiki_user
password: password
servlet:
multipart:
max-file-size: 150MB
max-request-size: 151MB
@@ -1,7 +1,7 @@
application:
pictures:
path: /Users/fthierry/Documents/Developpement/codiki-hexagonal/backend/pictures-folder
temp-path: /Users/fthierry/Documents/Developpement/codiki-hexagonal/backend/pictures-folder/temp
path: /Users/florian/Documents/Developpement/codiki-hexagonal/backend/pictures-folder/
temp-path : /Users/florian/Documents/Developpement/codiki-hexagonal/backend/pictures-folder/temp/
logging:
level:
@@ -1,4 +1,6 @@
application:
signup:
enabled: true
security:
jwt:
secretKey: "secret-key"