plugins { java id("org.springframework.boot") version "4.0.1" id("io.spring.dependency-management") version "1.1.7" } group = "com.abnov" version = "0.0.1-SNAPSHOT" description = "Infisical - Bridge" java { toolchain { languageVersion = JavaLanguageVersion.of(21) } } configurations { compileOnly { extendsFrom(configurations.annotationProcessor.get()) } } repositories { mavenCentral() } 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-data-jpa") implementation("org.springframework.boot:spring-boot-starter-liquibase") implementation("org.springframework.boot:spring-boot-starter-mail") implementation("org.springframework.boot:spring-boot-starter-quartz") implementation("org.springframework.boot:spring-boot-starter-restclient") implementation("org.springframework.boot:spring-boot-starter-security") implementation("org.springframework.boot:spring-boot-starter-thymeleaf") implementation("org.springframework.boot:spring-boot-starter-validation") implementation("org.springframework.boot:spring-boot-starter-webmvc") implementation("org.springframework.cloud:spring-cloud-starter-openfeign") implementation("org.springframework.modulith:spring-modulith-events-api") implementation("org.springframework.modulith:spring-modulith-starter-core") implementation("org.springframework.modulith:spring-modulith-starter-jpa") implementation("org.thymeleaf.extras:thymeleaf-extras-springsecurity6") compileOnly("org.projectlombok:lombok") 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-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-data-jpa-test") testImplementation("org.springframework.boot:spring-boot-starter-liquibase-test") testImplementation("org.springframework.boot:spring-boot-starter-mail-test") testImplementation("org.springframework.boot:spring-boot-starter-quartz-test") testImplementation("org.springframework.boot:spring-boot-starter-restclient-test") testImplementation("org.springframework.boot:spring-boot-starter-security-test") testImplementation("org.springframework.boot:spring-boot-starter-thymeleaf-test") testImplementation("org.springframework.boot:spring-boot-starter-validation-test") testImplementation("org.springframework.boot:spring-boot-starter-webmvc-test") testImplementation("org.springframework.boot:spring-boot-testcontainers") testImplementation("org.springframework.modulith:spring-modulith-starter-test") testImplementation("org.testcontainers:testcontainers-junit-jupiter") testImplementation("org.testcontainers:testcontainers-postgresql") // 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 { imports { mavenBom("org.springframework.modulith:spring-modulith-bom:${property("springModulithVersion")}") mavenBom("org.springframework.cloud:spring-cloud-dependencies:${property("springCloudVersion")}") } } tasks.withType { useJUnitPlatform() }