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["infisicalVersion"] = "3.0.5" dependencies { implementation("org.springframework.boot:spring-boot-starter-actuator") implementation("org.springframework.boot:spring-boot-starter-security") implementation("org.springframework.boot:spring-boot-starter-validation") implementation("org.springframework.boot:spring-boot-starter-webmvc") implementation("org.springframework.cloud:spring-cloud-starter-openfeign") compileOnly("org.projectlombok:lombok") 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-security-test") testImplementation("org.springframework.boot:spring-boot-starter-validation-test") testImplementation("org.springframework.boot:spring-boot-starter-webmvc-test") 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.cloud:spring-cloud-dependencies:${property("springCloudVersion")}") } } tasks.withType { useJUnitPlatform() }