build.gradle 984 Bytes
Newer Older
bseeger's avatar
bseeger committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
apply plugin: 'osgi'

description = 'RDF simple entailment service bundle'
dependencies {
    compile group: 'org.apache.jena', name: 'jena-osgi', version: jenaVersion
    compile group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion
    testCompile group: 'xerces', name: 'xercesImpl', version: xercesVersion
    testCompile group: 'junit', name: 'junit', version: junitVersion
    testCompile group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
}

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

        instruction 'Import-Package', "org.apache.camel,${defaultOsgiImports}"
        instruction 'Export-Package', "edu.amherst.acdc.services.entailment;version=${projectOsgiVersion}"
    }
}

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