diff --git a/build.gradle.kts b/build.gradle.kts index cb4f4ce..5b34fe5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -27,9 +27,11 @@ repositories { extra["springCloudVersion"] = "2025.1.0" extra["springModulithVersion"] = "2.0.1" +extra["infisicalVersion"] = "3.0.5" + dependencies { implementation("org.springframework.boot:spring-boot-starter-actuator") - implementation("org.springframework.boot:spring-boot-starter-amqp") + // implementation("org.springframework.boot:spring-boot-starter-amqp") implementation("org.springframework.boot:spring-boot-starter-data-jpa") implementation("org.springframework.boot:spring-boot-starter-liquibase") implementation("org.springframework.boot:spring-boot-starter-mail") @@ -48,12 +50,12 @@ dependencies { developmentOnly("org.springframework.boot:spring-boot-docker-compose") runtimeOnly("org.postgresql:postgresql") runtimeOnly("org.springframework.modulith:spring-modulith-actuator") - runtimeOnly("org.springframework.modulith:spring-modulith-events-amqp") + // runtimeOnly("org.springframework.modulith:spring-modulith-events-amqp") runtimeOnly("org.springframework.modulith:spring-modulith-observability") annotationProcessor("org.springframework.boot:spring-boot-configuration-processor") annotationProcessor("org.projectlombok:lombok") testImplementation("org.springframework.boot:spring-boot-starter-actuator-test") - testImplementation("org.springframework.boot:spring-boot-starter-amqp-test") + // testImplementation("org.springframework.boot:spring-boot-starter-amqp-test") testImplementation("org.springframework.boot:spring-boot-starter-data-jpa-test") testImplementation("org.springframework.boot:spring-boot-starter-liquibase-test") testImplementation("org.springframework.boot:spring-boot-starter-mail-test") @@ -67,8 +69,11 @@ dependencies { testImplementation("org.springframework.modulith:spring-modulith-starter-test") testImplementation("org.testcontainers:testcontainers-junit-jupiter") testImplementation("org.testcontainers:testcontainers-postgresql") - testImplementation("org.testcontainers:testcontainers-rabbitmq") + // testImplementation("org.testcontainers:testcontainers-rabbitmq") testRuntimeOnly("org.junit.platform:junit-platform-launcher") + + // https://mvnrepository.com/artifact/com.infisical/sdk + implementation("com.infisical:sdk:${property("infisicalVersion")}") } dependencyManagement { diff --git a/compose.yaml b/compose.yaml index 80e8ef1..8a4bd07 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,16 +1,16 @@ services: postgres: - image: 'postgres:latest' + image: "postgres:latest" environment: - - 'POSTGRES_DB=mydatabase' - - 'POSTGRES_PASSWORD=secret' - - 'POSTGRES_USER=myuser' + - "POSTGRES_DB=mydatabase" + - "POSTGRES_PASSWORD=secret" + - "POSTGRES_USER=myuser" ports: - - '5432' - rabbitmq: - image: 'rabbitmq:latest' - environment: - - 'RABBITMQ_DEFAULT_PASS=secret' - - 'RABBITMQ_DEFAULT_USER=myuser' - ports: - - '5672' + - "5432" + # rabbitmq: + # image: 'rabbitmq:latest' + # environment: + # - 'RABBITMQ_DEFAULT_PASS=secret' + # - 'RABBITMQ_DEFAULT_USER=myuser' + # ports: + # - '5672'