File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
build-logic/src/main/groovy Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -4,15 +4,17 @@ plugins {
4
4
5
5
def boringHome = (project. findProperty(' boringsslHome' ) ?: System . getenv(' BORINGSSL_HOME' ))
6
6
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." )
8
8
}
9
9
10
10
def boringInclude = file(" ${ boringHome} /include" ). absolutePath
11
11
if (! file(boringInclude). exists()) {
12
12
throw new GradleException (" BoringSSL include dir not found: ${ boringInclude} " )
13
13
}
14
14
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
+
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' conventions.common'
3
+ id ' conventions.boringssl'
3
4
id ' conventions.jvm'
4
5
}
5
6
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
+
6
13
description = ' Conscrypt: OpenJdk UberJAR'
7
14
8
15
Directory buildTop = layout. buildDirectory. get()
You can’t perform that action at this time.
0 commit comments