plugins {
    id "code-quality-conventions"
    id "java-conventions"
    id "sbom-conventions"
    id "release-conventions"
}

dependencies {
    annotationProcessor "org.springframework.boot:spring-boot-autoconfigure-processor"
    annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"

    api project(":arconia-multitenancy:arconia-multitenancy-core")

    implementation "com.fasterxml.jackson.core:jackson-databind"
    implementation "jakarta.servlet:jakarta.servlet-api"
    implementation "org.springframework.boot:spring-boot-starter"
    implementation "org.springframework:spring-context"
    implementation "org.springframework:spring-webmvc"

    testImplementation "org.springframework.boot:spring-boot-starter-test"
    testRuntimeOnly "org.junit.platform:junit-platform-launcher"
}

publishing {
    publications {
        mavenJava(MavenPublication) {
            pom {
                name = "Arconia Multitenancy Web"
                description = "Arconia Multitenancy Web"
            }
        }
    }
}
