apply plugin: 'kotlin'

apply plugin: 'net.corda.plugins.publish-utils'
apply plugin: 'com.jfrog.artifactory'

dependencies {
    compile group: "org.jetbrains.kotlin", name: "kotlin-stdlib-jdk8", version: kotlin_version
    compile group: "org.jetbrains.kotlin", name: "kotlin-reflect", version: kotlin_version

    compile group: "com.typesafe", name: "config", version: typesafe_config_version

    compile project(":common-validation")
    
    testImplementation "org.junit.jupiter:junit-jupiter-api:${junit_jupiter_version}"
    testImplementation "junit:junit:$junit_version"

    testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junit_vintage_version}"
    testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit_jupiter_version}"
    testRuntimeOnly "org.junit.platform:junit-platform-launcher:${junit_platform_version}"

    testCompile group: "org.jetbrains.kotlin", name: "kotlin-test", version: kotlin_version
    testCompile group: "org.assertj", name: "assertj-core", version: assertj_version
}

jar {
    baseName 'corda-common-configuration-parsing'
}

publish {
    name jar.baseName
}