-
Notifications
You must be signed in to change notification settings - Fork 66
/
build.gradle
47 lines (38 loc) · 876 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
39
40
41
42
43
44
45
46
47
apply plugin: 'java-library'
apply plugin: 'maven-publish'
group = 'com.github.movisens'
targetCompatibility = 1.8
sourceCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
version = '3.6.0'
repositories {
mavenCentral()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.11'
}
sourceSets {
main {
java {
srcDir('src-gen/main/java')
}
}
}
//OSGI specific entries that are not automatically generated
jar {
manifest {
attributes (
'Bundle-SymbolicName': project.group + project.name,
'Bundle-Version': project.version,
'Export-Package': 'com.movisens.smartgattlib, com.movisens.smartgattlib.*'
)
}
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}