forked from mucommander/mucommander
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
35 lines (31 loc) · 1.22 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
repositories.jcenter()
dependencies {
compile 'org.slf4j:slf4j-api:1.7.26'
comprise 'com.ibm.icu:icu4j:59.2'
testCompile 'org.testng:testng:6.11'
}
jar {
from configurations.comprise.collect { it.isDirectory() ? it : zipTree(it).matching {
include 'com/ibm/icu/text/**'
} }
bnd ('Bundle-Name': 'muCommander-commons-io',
'Bundle-Vendor': 'muCommander',
'Bundle-Description': 'Library with I/O tools',
'Import-Package':
'!com.ibm.icu.*,' +
'!com.mucommander.commons.io.bom,' +
' *',
'Export-Package':
'com.mucommander.commons.io,' +
'com.mucommander.commons.io.base64,' +
'com.mucommander.commons.io.bom,' +
'com.mucommander.commons.io.security',
'Specification-Title': "muCommander",
'Specification-Vendor': "Arik Hadas",
'Specification-Version': version,
'Implementation-Title': "muCommander",
'Implementation-Vendor': "Arik Hadas",
'Implementation-Version': revision.substring(0, 7),
'Build-Date': new Date().format('yyyyMMdd'),
'Build-Url': "https://www.mucommander.com/version/nightly.xml")
}