-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (50 loc) · 1.21 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
48
49
50
51
52
53
54
55
56
57
58
59
buildscript {
repositories {
mavenCentral()
maven {
url=uri('/tmp/core-grpc-delegate/repo')
}
}
dependencies {
classpath 'com.github.lburgazzoli:gradle-karaf-plugin:0.0.49'
classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:3.5.+'
}
}
allprojects {
repositories {
mavenCentral()
maven {
url=uri('/tmp/core-grpc-delegate/repo')
}
}
}
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'maven'
apply plugin: 'idea'
apply plugin: 'biz.aQute.bnd.builder'
apply plugin: 'com.github.lburgazzoli.karaf'
configurations {
additionalBundles
}
dependencies {
compile 'org.osgi:org.osgi.compendium:5.0.0'
compile 'org.osgi:org.osgi.annotation:6.0.0'
compile 'com.greeting:core-grpc-delegate:1.0.0-rel.0-SNAPSHOT'
additionalBundles ('com.greeting:core-grpc-delegate:1.0.0-rel.0-SNAPSHOT') { transitive = false }
}
karaf {
features {
feature {
name = project.name
description = project.description
includeProject=true
feature 'scr'
configurations 'additionalBundles'
}
}
kar {
enabled = true
}
}
defaultTasks 'clean', 'build'