build.gradle 1.27 KB
Newer Older
acoburn's avatar
acoburn committed
1
2
3
apply plugin: 'osgi'

description = 'Triplestore Indexer'
4
5
6
7
8

ext {
    moduleName = 'edu.amherst.acdc.connector.triplestore'
}

acoburn's avatar
acoburn committed
9
10
11
12
dependencies {
    compile group: 'org.apache.camel', name: 'camel-core', version: camelVersion
    compile group: 'org.apache.camel', name: 'camel-http4', version: camelVersion
    compile group: 'org.apache.camel', name: 'camel-blueprint', version: camelVersion
13
    compile group: 'org.apache.jena', name: 'jena-osgi', version: jenaVersion
14

15
16
    testCompile group: 'javax.activation', name: 'javax.activation-api', version: activationApiVersion
    testCompile group: 'javax.xml.bind', name: 'jaxb-api', version: jaxbVersion
17
    testCompile group: 'org.apache.commons', name: 'commons-compress', version: commonsCompressVersion
acoburn's avatar
acoburn committed
18
19
20
21
22
23
24
25
26
}

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

27
        instruction 'Automatic-Module-Name', moduleName
28
        instruction 'Import-Package', "org.apache.camel,${defaultOsgiImports}"
29
        instruction 'Export-Package', "${moduleName};version=${projectOsgiVersion}"
acoburn's avatar
acoburn committed
30
31
32
33
34
35
36
37
38
    }
}

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