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

description = 'Image manipulation service'
4
5
6
7
8

ext {
    moduleName = 'edu.amherst.acdc.exts.image'
}

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

15
16
    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
17
18
19
20
21
22
23
24
25
26
27
28
    testCompile group: 'junit', name: 'junit', version: junitVersion
    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

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

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