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

description 'Endpoint API for uploading a CPI.'

dependencies {
    compileOnly 'org.osgi:osgi.annotation'
    compileOnly "org.osgi:org.osgi.service.component.annotations"

    implementation platform("net.corda:corda-api:$cordaApiVersion")
    implementation project(':components:configuration:configuration-read-service')
    implementation project(':components:virtual-node:cpi-info-read-service-impl')
    implementation project(':libs:crypto:crypto-core')
    implementation project(':libs:rest:rest')
    implementation project(':libs:rest:rest-common')
    implementation project(':libs:lifecycle:lifecycle')
    implementation project(':libs:messaging:messaging')
    implementation project(':libs:virtual-node:cpi-upload-endpoints')
    implementation project(':libs:configuration:configuration-validation')
    api project(':libs:virtual-node:cpi-upload-manager')
    implementation project(':libs:virtual-node:virtual-node-endpoints')
    implementation project(':libs:packaging:packaging-core')
    implementation 'net.corda:corda-base'
    implementation 'net.corda:corda-config-schema'
    implementation 'net.corda:corda-crypto'
    implementation 'org.jetbrains.kotlin:kotlin-osgi-bundle'
    implementation 'net.corda:corda-avro-schema'
    implementation 'net.corda:corda-topic-schema'
    implementation project(':libs:packaging:packaging')
    implementation project(':libs:utilities')
    implementation project(':libs:platform-info')

    testImplementation project(':libs:virtual-node:cpi-upload-manager-impl')
}
