dependencies {
    implementation project( ':jaxrs:jaxrs-api' )
    implementation libs.jackson.jakarta.jsonprovider
    implementation libs.resteasy
    implementation project( ':core:core-internal' )

    testFixturesApi project( ':jaxrs:jaxrs-api' )
    testFixturesImplementation libs.resteasy
    testFixturesImplementation libs.junit.jupiter.api
    testFixturesImplementation libs.mockito.core
    testFixturesImplementation libs.jackson.jakarta.jsonprovider
    testFixturesImplementation ( testFixtures( project( ':core:core-api' ) ) )
    testFixturesImplementation project( ':core:core-internal' )

    testImplementation( testFixtures( project(":web:web-jetty") ) )
}

jar {
    bundle {
        bnd( 'Bundle-Name': 'Enonic XP JaxRs - Impl',
         'Export-Package': 'jakarta.ws.rs.*',
         'Import-Package': '*;resolution:=optional',
         'Private-Package': 'org.jboss.resteasy.*;-split-package:=merge-first' + ',' +
             'org.reactivestreams.*' + ',' +
             'com.ibm.asyncutil.*' + ',' +
             'META-INF.services.*;-split-package:=merge-first' )
    }
}
