plugins {
    id 'java'


    id 'jvm-test-suite'
}

java {
    toolchain {
        languageVersion.set(JavaLanguageVersion.of(rootProject.ext.jvmVersion))
    }
}

apply from: "$rootProject.projectDir/srcsets.gradle"

dependencies {
    implementation project(':code:common:model')
    implementation project(':code:common:config')
    implementation project(':code:libraries:guarded-regex')
    implementation project(':code:libraries:geo-ip')

    implementation libs.notnull

    implementation libs.bundles.gson
    implementation libs.bundles.slf4j
    testImplementation libs.bundles.slf4j.test

    implementation libs.guava
    implementation libs.guava
    implementation dependencies.create(libs.guice.get()) {
        exclude group: 'com.google.guava'
    }

    implementation libs.commons.net

    implementation libs.opencsv

    testImplementation libs.bundles.slf4j.test
    testImplementation libs.bundles.junit
    testImplementation libs.mockito
}

