build.gradle 1.4 KB
Newer Older
acoburn's avatar
acoburn committed
1
2
3
4
5
6
7
8
9
10
11
apply plugin: 'osgi'

description = 'A template rendering service, based on JSON-LD documents'
dependencies {
    compile group: 'org.apache.camel', name: 'camel-core', version: camelVersion
    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-http4', version: camelVersion
    compile group: 'org.apache.camel', name: 'camel-jackson', version: camelVersion
    compile group: 'org.apache.camel', name: 'camel-mustache', version: camelVersion
    compile group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion
acoburn's avatar
acoburn committed
12

acoburn's avatar
acoburn committed
13
14
15
16
17
18
19
20
21
22
23
24
    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

25
        instruction 'Import-Package', "org.apache.camel,${defaultOsgiImports}"
acoburn's avatar
acoburn committed
26
27
28
29
30
31
32
33
34
35
        instruction 'Export-Package', "edu.amherst.acdc.exts.template;version=${projectOsgiVersion}"
    }
}

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