plugins {
    id 'corda.common-publishing'
    id 'corda.common-library'
}

description 'Member Certificates Service implementation'

ext.cordaEnableFormatting = true

dependencies {
    compileOnly 'org.osgi:org.osgi.service.component.annotations'
    implementation 'net.corda:corda-db-schema'
    implementation 'net.corda:corda-config-schema'
    implementation 'net.corda:corda-topic-schema'
    implementation project(':libs:membership:certificates-datamodel')
    implementation project(':components:configuration:configuration-read-service')
    implementation project(':components:db:db-connection-manager')
    implementation project(':components:membership:registration')
    implementation project(':libs:crypto:crypto-core')
    implementation project(':libs:messaging:messaging')
    implementation project(':libs:membership:certificates-common')
    implementation project(':components:virtual-node:virtual-node-info-read-service')
    implementation project(':components:membership:certificates-service')

    testImplementation project(':libs:db:db-admin')
    testImplementation project(':libs:db:db-admin-impl')
    testImplementation project(':libs:db:db-orm-impl')
    testImplementation project(':testing:db-testkit')

    testRuntimeOnly "org.hsqldb:hsqldb:$hsqldbVersion"
    testRuntimeOnly libs.postgresql.jdbc
}
