build.gradle 1.37 KB
Newer Older
acoburn's avatar
acoburn committed
1
2
3
4
5
6
apply plugin: 'osgi'

description = 'PCDM Object builder'
dependencies {
    compile group: 'org.apache.camel', name: 'camel-core', version: camelVersion
    compile group: 'org.apache.camel', name: 'camel-blueprint', version: camelVersion
7
    compile group: 'org.apache.camel', name: 'camel-http4', version: camelVersion
acoburn's avatar
acoburn committed
8
9
    compile group: 'org.apache.camel', name: 'camel-jetty9', version: camelVersion
    compile group: 'org.apache.jena', name: 'jena-osgi', version: jenaVersion
10

acoburn's avatar
acoburn committed
11
    compile project(':acrepo-services-pcdm')
12

acoburn's avatar
acoburn committed
13
14
    testCompile group: 'junit', name: 'junit', version: junitVersion
    testCompile group: 'org.apache.camel', name: 'camel-test-blueprint', version: camelVersion
15
    testCompile group: 'org.apache.commons', name: 'commons-compress', version: commonsCompressVersion
acoburn's avatar
acoburn committed
16
17
18
19
20
21
22
23
24
25
    testCompile group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
}

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

26
        instruction 'Import-Package', "org.apache.camel,edu.amherst.acdc.services.pcdm,${defaultOsgiImports}"
acoburn's avatar
acoburn committed
27
28
29
30
31
32
33
34
35
36
        instruction 'Export-Package', "edu.amherst.acdc.exts.pcdm;version=${projectOsgiVersion}"
    }
}

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