plugins { // kotlin("jvm") // kotlin("plugin.spring") // id("org.springframework.boot") alias(libs.plugins.kotlin.jvm) alias(libs.plugins.kotlin.spring) // KORREKTUR: Dieses Plugin ist entscheidend. Es schaltet den `springBoot`-Block // und alle Spring-Boot-spezifischen Gradle-Tasks frei. alias(libs.plugins.spring.boot) // Dependency Management für konsistente Spring-Versionen alias(libs.plugins.spring.dependencyManagement) } springBoot { mainClass.set("at.mocode.members.service.MembersServiceApplicationKt") } dependencies { implementation(projects.platform.platformDependencies) implementation(projects.core.coreDomain) implementation(projects.core.coreUtils) implementation(projects.members.membersDomain) implementation(projects.members.membersApplication) implementation(projects.members.membersInfrastructure) implementation(projects.members.membersApi) implementation(projects.infrastructure.auth.authClient) implementation(projects.infrastructure.cache.redisCache) implementation(projects.infrastructure.messaging.messagingClient) implementation(projects.infrastructure.monitoring.monitoringClient) implementation("org.springframework.boot:spring-boot-starter-web") implementation("org.springframework.boot:spring-boot-starter-validation") implementation("org.springframework.boot:spring-boot-starter-security") implementation("org.springframework.boot:spring-boot-starter-actuator") implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui") // Database dependencies implementation("org.jetbrains.exposed:exposed-core") implementation("org.jetbrains.exposed:exposed-dao") implementation("org.jetbrains.exposed:exposed-jdbc") implementation("org.jetbrains.exposed:exposed-kotlin-datetime") implementation("com.zaxxer:HikariCP") runtimeOnly("org.postgresql:postgresql") testRuntimeOnly("com.h2database:h2") testImplementation(projects.platform.platformTesting) testImplementation(libs.logback.classic) // SLF4J provider for tests } tasks.test { useJUnitPlatform() }