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

description = 'RDF to XML (MODS and DC) serialization service'
4
5
6
7
8

ext {
    moduleName = 'edu.amherst.acdc.exts.serialize.xml'
}

acoburn's avatar
acoburn committed
9
10
dependencies {
    compile group: 'org.apache.camel', name: 'camel-core', version: camelVersion
11
    compile group: 'org.apache.camel', name: 'camel-http4', version: camelVersion
acoburn's avatar
acoburn committed
12
13
14
15
    compile group: 'org.apache.camel', name: 'camel-jetty9', version: camelVersion
    compile group: 'org.apache.camel', name: 'camel-blueprint', version: camelVersion
    compile group: 'org.apache.camel', name: 'camel-saxon', version: camelVersion
    compile group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion
16
17
18

    testCompile group: 'javax.activation', name: 'javax.activation-api', version: activationApiVersion
    testCompile group: 'javax.xml.bind', name: 'jaxb-api', version: jaxbVersion
acoburn's avatar
acoburn committed
19
20
21
22
23
24
25
26
27
28
29
30
31
    testCompile group: 'junit', name: 'junit', version: junitVersion
    testCompile group: 'commons-io', name: 'commons-io', version: commonsIoVersion
    testCompile group: 'org.apache.camel', name: 'camel-test-blueprint', version: camelVersion
    testCompile group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
}

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

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

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