dependencies {
    implementation project( ':core:core-api' )
    implementation project( ':core:core-internal' )
    implementation libs.hazelcast.hazelcast
    implementation libs.jetty.hazelcast

    testImplementation( testFixtures( project(":core:core-api") ) )
}

jar {
    bundle {
        bnd( 'Bundle-Name': 'Enonic XP Core - Hazelcast',
         'Import-Package':
             'com.enonic.xp.app;resolution:=optional' + ',' +
             'com.enonic.xp.branch;resolution:=optional' + ',' +
             'com.enonic.xp.cluster;resolution:=optional' + ',' +
             'com.enonic.xp.data;resolution:=optional' + ',' +
             'com.enonic.xp.event;resolution:=optional' + ',' +
             'com.enonic.xp.descriptor;resolution:=optional' + ',' +
             'com.enonic.xp.repository;resolution:=optional' + ',' +
             'com.enonic.xp.scheduler;resolution:=optional' + ',' +
             'com.enonic.xp.security;resolution:=optional' + ',' +
             'com.enonic.xp.security.auth;resolution:=optional' + ',' +
             'com.enonic.xp.task;resolution:=optional' + ',' +
             'com.enonic.xp.impl.scheduler.distributed;resolution:=optional' + ',' +
             'com.enonic.xp.impl.task.distributed;resolution:=optional' + ',' +
             'com.google.common.collect;resolution:=optional,' +
             '*')
    }
}
