build.gradle 1.18 KB
Newer Older
acoburn's avatar
acoburn committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
apply plugin: 'osgi'

description = 'ORE Object builder'
dependencies {
    compile group: 'org.apache.camel', name: 'camel-core', version: camelVersion
    compile group: 'org.apache.camel', name: 'camel-blueprint', version: camelVersion
    compile group: 'org.apache.camel', name: 'camel-jetty9', version: camelVersion
    compile group: 'org.apache.jena', name: 'jena-osgi', version: jenaVersion
    compile project(':acrepo-services-ore')
    testCompile group: 'junit', name: 'junit', version: junitVersion
    testCompile group: 'org.apache.camel', name: 'camel-test-blueprint', version: camelVersion
    testCompile group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
}

jar {
    manifest {
        description project.description
        docURL project.docURL
        vendor project.vendor
        license project.license

22
        instruction 'Import-Package', "org.apache.camel,edu.amherst.acdc.services.ore,${defaultOsgiImports}"
acoburn's avatar
acoburn committed
23
24
25
26
27
28
29
30
31
32
        instruction 'Export-Package', "edu.amherst.acdc.exts.ore;version=${projectOsgiVersion}"
    }
}

artifacts {
    archives (file('build/cfg/main/edu.amherst.acdc.exts.ore.cfg')) {
        classifier 'configuration'
        type 'cfg'
    }
}