-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
48 lines (40 loc) · 1.04 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
allprojects {
version = '2.0.0-beta.6'
repositories {
jcenter()
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = 1.8
targetCompatibility = 1.8
javadoc {
options.tags("apiNote:a:API Note:")
options.tags("implSpec:a:Implementation Requirements:")
options.tags("implNote:a:Implementation Note:")
options.tags("param")
options.tags("return")
options.tags("throws")
options.tags("since")
options.tags("version")
options.tags("serialData")
options.tags("see")
}
task sourcesJar(type: Jar, dependsOn: classes) {
from sourceSets.main.allSource
archiveClassifier = 'sources'
}
task javadocJar(type: Jar, dependsOn: javadoc) {
from javadoc.destinationDir
archiveClassifier = 'javadoc'
}
artifacts {
archives sourcesJar
archives javadocJar
}
}
wrapper {
gradleVersion = "6.7.1"
distributionType = Wrapper.DistributionType.ALL
}