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

description = 'RDF simple entailment service bundle'
4
5
6
7
8

ext {
    moduleName = 'edu.amherst.acdc.services.entailment'
}

bseeger's avatar
bseeger committed
9
10
11
dependencies {
    compile group: 'org.apache.jena', name: 'jena-osgi', version: jenaVersion
    compile group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion
12

bseeger's avatar
bseeger committed
13
    testCompile group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
14
    testCompile group: 'commons-io', name: 'commons-io', version: commonsIoVersion
15
16
    testCompile group: 'javax.activation', name: 'javax.activation-api', version: activationApiVersion
    testCompile group: 'javax.xml.bind', name: 'jaxb-api', version: jaxbVersion
17
18
    testCompile group: 'junit', name: 'junit', version: junitVersion
    testCompile group: 'org.apache.commons', name: 'commons-compress', version: commonsCompressVersion
bseeger's avatar
bseeger committed
19
20
21
22
23
24
25
26
27
}

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

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

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