File tree 3 files changed +28
-0
lines changed
3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -310,6 +310,11 @@ def generate(self):
310
310
title = "Setting up Android deps through Gradle" ,
311
311
)
312
312
313
+ self ._Execute (
314
+ ["third_party/java_deps/set_up_java_deps.sh" ],
315
+ title = "Setting up Java deps" ,
316
+ )
317
+
313
318
if not os .path .exists (self .output_dir ):
314
319
# NRF does a in-place update of SDK tools
315
320
if not self ._runner .dry_run :
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ cd "{root}"
4
4
# Setting up Android deps through Gradle
5
5
python3 third_party/android_deps/set_up_android_deps.py
6
6
7
+ # Setting up Java deps
8
+ third_party/java_deps/set_up_java_deps.sh
9
+
7
10
# Generating android-arm64-chip-tool
8
11
gn gen --check --fail-on-unused-args {out}/android-arm64-chip-tool '--args=target_os="android" target_cpu="arm64" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" '
9
12
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ #
4
+ # Copyright (c) 2022 Project CHIP Authors
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ mkdir third_party/java_deps/artifacts
20
+ curl --fail --location --silent --show-error https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar -o third_party/java_deps/artifacts/jsr305-3.0.2.jar
You can’t perform that action at this time.
0 commit comments