forked from Lanchon/Java-Fiscal-Device-API
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
46 lines (37 loc) · 929 Bytes
/
build.gradle
File metadata and controls
46 lines (37 loc) · 929 Bytes
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
plugins {
id 'java'
id "nebula.provided-base" version "2.2.2"
}
group 'com.github.lanchon.fiscal-device'
version '1.1.0'
sourceCompatibility = 1.5
dependencies {
provided fileTree(dir: 'apis', include: ['*.jar'])
}
javadoc {
options.overview = 'src/main/java/overview.html'
options.docTitle = "Java Fiscal Device API - $version"
options.windowTitle = options.docTitle
}
tasks.withType(Jar) {
manifest {
attributes(
'Implementation-Title': 'Java Fiscal Device API',
'Implementation-Version': version
)
}
}
task sourcesJar(type: Jar) {
dependsOn classes
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar) {
dependsOn javadoc
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}