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

description = 'PCDM Object Bundle'
4
5
6
7
8

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

acoburn's avatar
acoburn committed
9
10
dependencies {
    compile group: 'org.apache.jena', name: 'jena-osgi', version: jenaVersion
11

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

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

26
        instruction 'Automatic-Module-Name', moduleName
acoburn's avatar
acoburn committed
27
        instruction 'Import-Package', defaultOsgiImports
28
        instruction 'Export-Package', "${moduleName};version=${projectOsgiVersion}"
acoburn's avatar
acoburn committed
29
30
31
    }
}