This repository has been archived by the owner on Feb 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
configuration.gradle
84 lines (59 loc) · 1.66 KB
/
configuration.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
project.ext {
cfgVersion = "1.7.0"
cfgGroup = "org.openmuc"
cfgCopyDependencies = true
cfgCopyToRoot = true
cfgSignPom = true
cfgRepository = project.properties.sonatypeRepository
cfgSnapshotRepository = project.properties.sonatypeSnapshotRepository
cfgRepositoryUser = project.properties.sonatypeUser
cfgRepositoryPass = project.properties.sonatypePass
javaProjects = subprojects
distributionProjects = javaProjects
docProjects = distributionProjects.findAll {
it.getPath() == ":jasn1"
}
repositoryProjects = javaProjects
}
tasks.withType(Tar) {
into(project.name) {
from("./") {
include "build.gradle"
include "configuration.gradle"
include "license/**"
include "doc/CHANGELOG.txt"
include "run-scripts/**"
include "gradle/wrapper/**"
include "gradlew"
include "gradlew.bat"
include "build/libs-all/**"
include "src/**"
include "projects/jasn1/src/**"
include "projects/jasn1/build.gradle"
include "projects/jasn1/build/docs/**"
include "projects/jasn1-compiler/src/**"
include "projects/jasn1-compiler/build.gradle"
include "projects/jasn1-compiler/antlr/**"
include "projects/jasn1-compiler/dependencies/**"
}
if (name.equals("tar") ){
exclude "**/dependencies/**/src"
}
from("./build/") {
include "settings.gradle"
}
}
into(project.name + "/doc/user-guide/") {
from("./build/asciidoc/html5/") {
include "**"
}
from("./build/asciidoc/pdf/") {
include "*.pdf"
}
}
into(project.name + "/doc/") {
from("./build/docs/") {
include "javadoc/**"
}
}
}