-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
47 lines (36 loc) · 1.16 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'osgi'
configurations.create('embed')
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
def openmucversion = '0.15.2'
compile group: 'org.openmuc.framework', name: 'openmuc-core-api', version: openmucversion
compile group: 'org.openmuc.framework', name: 'openmuc-core-spi', version: openmucversion
compile group: 'org.openmuc.framework', name: 'openmuc-core-datamanager', version: openmucversion
compile 'commons-configuration:commons-configuration:1.10'
compile 'commons-collections:commons-collections:3.2.2'
testCompile group: 'junit', name: 'junit', version: '4+'
// compile files('dependencies/yourfile.jar')
// embed files('dependencies/yourfile.jar')
}
jar {
manifest {
name = "OpenMUC Application - Gateway"
version = "1.0.0"
symbolicName = "org.openmucextensions.app.gateway";
instruction 'Bundle-ClassPath', '.'
instruction 'Import-Package', '*'
instruction 'Export-Package', ''
instruction 'Service-Component', 'OSGI-INF/components.xml'
}
}
jar {
into('lib') {
from configurations.embed
}
}
tasks.eclipse.dependsOn(cleanEclipse)