Skip to content

Commit 23fce9c

Browse files
committed
Merge branch 'master' into 02_native_build
2 parents 5379c87 + 64049fc commit 23fce9c

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

build-logic/src/main/groovy/conventions.boringssl.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@ plugins {
44

55
def boringHome = (project.findProperty('boringsslHome') ?: System.getenv('BORINGSSL_HOME'))
66
if (!boringHome) {
7-
throw new GradleException("boringsslHome not set. Provide -PboringsslHome or BORINGSSL_HOME.")
7+
throw new GradleException("boringsslHome not set. Provide -PboringsslHome or \$BORINGSSL_HOME.")
88
}
99

1010
def boringInclude = file("${boringHome}/include").absolutePath
1111
if (!file(boringInclude).exists()) {
1212
throw new GradleException("BoringSSL include dir not found: ${boringInclude}")
1313
}
1414

15-
// Export only the properties expected by downstream logic
16-
ext.boringsslHome = boringHome
17-
ext.boringsslIncludeDir = boringInclude
18-
ext.boringSslVersion = org.ajoberstar.grgit.Grgit.open(dir: boringHome).head().id
15+
ext {
16+
boringsslHome = boringHome
17+
boringsslIncludeDir = boringInclude
18+
boringSslVersion = org.ajoberstar.grgit.Grgit.open(dir: boringHome).head().id
19+
}
20+

openjdk-uber/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
plugins {
22
id 'conventions.common'
3+
id 'conventions.boringssl'
34
id 'conventions.jvm'
45
}
56

7+
repositories {
8+
mavenCentral()
9+
// TODO(prb): Gate this on a property to ensure that local testing can't contaminate releases.
10+
mavenLocal()
11+
}
12+
613
description = 'Conscrypt: OpenJdk UberJAR'
714

815
Directory buildTop = layout.buildDirectory.get()

0 commit comments

Comments
 (0)