FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
bc-java/util/build.gradle at 1.78.1 · bcgit/bc-java · GitHub
bcgit
bc-java
Repository navigation
Code
Issues
69
(69)
Pull requests
24
(24)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
bc-java
/
util
/
build.gradle
Copy path
More file actions
More file actions
Latest commit
History
History
History
103 lines (79 loc) · 2.55 KB
Breadcrumbs
bc-java
/
util
/
build.gradle
Copy path
File metadata and controls
103 lines (79 loc) · 2.55 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
plugins
{
id
"
biz.aQute.bnd.builder
"
version
"
7.0.0
"
}
jar
.
archiveBaseName
=
"
bcutil-
$v
mrange
"
sourceSets
{
java9 {
java {
srcDirs
=
[
'
src/main/jdk1.9
'
]
}
}
}
dependencies
{
implementation project(
'
:core
'
)
implementation project(
'
:prov
'
)
implementation files(
"
${
bc_prov
}
"
)
//
implementation project(path: ':core')
implementation project(
path
:
'
:prov
'
)
testImplementation
group
:
'
junit
'
,
name
:
'
junit
'
,
version
:
'
4.11
'
java9Implementation files([sourceSets
.
main
.
output
.
classesDirs]) {
builtBy compileJava
}
java9Implementation project(
'
:prov
'
)
//
java9Implementation project(':core')
java9Implementation project(
path
:
'
:prov
'
)
}
compileJava
{
javaCompiler
=
javaToolchains
.
compilerFor {
languageVersion
=
JavaLanguageVersion
.
of(
17
)
}
targetCompatibility
=
1.8
;
sourceCompatibility
=
1.8
;
}
compileJava9Java
{
javaCompiler
=
javaToolchains
.
compilerFor {
languageVersion
=
JavaLanguageVersion
.
of(
17
)
}
options
.
compilerArgs
+
=
[
'
--module-path
'
,
"
${
bc_prov
}
"
]
sourceCompatibility
=
9
targetCompatibility
=
9
options
.
sourcepath
=
files([
'
src/main/java
'
,
'
src/main/jdk1.9
'
])
}
jar
{
from sourceSets
.
main
.
output
into(
'
META-INF/versions/9
'
) {
from sourceSets
.
java9
.
output
}
String
packages
=
'
org.bouncycastle.asn1.{bsi|cmc|cmp|cms|crmf|cryptlib|dvcs|eac|edec|esf|ess|est|gnu|iana|icao|isara|isismtt|iso|kisa|microsoft|misc|mozilla|nsri|ntt|oiw|rosstandart|smime|tsp}.*
'
manifest
.
attributes(
'
Multi-Release
'
:
'
true
'
)
manifest
.
attributes(
'
Bundle-Name
'
:
'
bcutil
'
)
manifest
.
attributes(
'
Bundle-SymbolicName
'
:
'
bcutil
'
)
manifest
.
attributes(
'
Bundle-RequiredExecutionEnvironment
'
:
'
JavaSE-1.8
'
)
manifest
.
attributes(
'
Export-Package
'
:
"
${
packages
}
,org.bouncycastle.oer.*
"
)
manifest
.
attributes(
'
Import-Package
'
:
"
java.*;resolution:=optional,javax.*;resolution:=optional,!
${
packages
}
,!org.bouncycastle.oer.*,org.bouncycastle.*;version=
\"
[
${
version
}
,
${
maxVersion
}
)
\"
"
)
}
task
sourcesJar
(
type
:
Jar
) {
archiveBaseName
=
jar
.
archiveBaseName
archiveClassifier
=
'
sources
'
from sourceSets
.
main
.
allSource
exclude(
"
**/*.so
"
)
into(
'
META-INF/versions/9
'
) {
from sourceSets
.
java9
.
allSource
}
}
task
javadocJar
(
type
:
Jar
,
dependsOn
: javadoc) {
archiveBaseName
=
jar
.
archiveBaseName
archiveClassifier
=
'
javadoc
'
from javadoc
.
destinationDir
}
artifacts
{
archives jar
archives javadocJar
archives sourcesJar
}
test
{
forkEvery
=
1
;
maxParallelForks
=
8
;
}
Back
|
FazBrowse Home
|
New Git URL