forked from wezell/plugin-osgi-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (31 loc) · 887 Bytes
/
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
apply plugin: 'application'
apply plugin: 'osgi'
apply plugin: 'war'
apply plugin: 'eclipse'
sourceCompatibility = '1.7'
version = '0.1'
repositories {
maven {
url "http://repo.dotcms.com/artifactory/libs-release"
}
}
dependencies {
compile fileTree(dir: 'src/main/resources/libs', include: '*.jar')
compile (group: 'com.dotcms', name: 'dotcms', version: '3.3'){
transitive = true
}
providedCompile "javax.servlet:servlet-api:2.5"
}
jar {
manifest {
name = 'OSGi Test'
instruction 'Bundle-Vendor', 'dotcms'
instruction 'Bundle-Description', 'dotCMS / This should work!'
instruction 'Bundle-DocURL', 'http://www.dotcms.com'
instruction 'Bundle-Activator', 'com.dotcms.osgi.testtool.Activator'
instruction 'DynamicImport-Package', '*'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '1.8'
}