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

description = 'Id Minter Blueprint Bundle'
4
5
6
7
8

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

acoburn's avatar
acoburn committed
9
10
dependencies {
    compile group: 'org.apache.commons', name: 'commons-lang3', version: commonsLangVersion
11
12
13

    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
14
15
16
17
18
19
20
21
22
23
    testCompile group: 'junit', name: 'junit', version: junitVersion
}

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

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

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