File tree Expand file tree Collapse file tree
build-logic/src/main/groovy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,15 +4,17 @@ plugins {
44
55def boringHome = (project. findProperty(' boringsslHome' ) ?: System . getenv(' BORINGSSL_HOME' ))
66if (! 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
1010def boringInclude = file(" ${ boringHome} /include" ). absolutePath
1111if (! 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+
Original file line number Diff line number Diff line change 11plugins {
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+
613description = ' Conscrypt: OpenJdk UberJAR'
714
815Directory buildTop = layout. buildDirectory. get()
You can’t perform that action at this time.
0 commit comments