-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (34 loc) · 1.08 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'osgi'
configurations.create('embed')
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
def openmucversion = '0.16.0'
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 group: 'org.apache.felix', name: 'org.apache.felix.gogo.runtime', version: '0.16.2'
// compile files('dependencies/yourfile.jar')
// embed files('dependencies/yourfile.jar')
}
jar {
manifest {
name = "OpenMUC Extensions Console Commands"
version = "1.0.0"
symbolicName = "org.openmucextensions.console";
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)