File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 70
70
71
71
# Build javadoc:
72
72
cd extension/android
73
- ./gradlew javadoc
74
- cp -rf build/docs/javadoc "${RUNNER_DOCS_DIR}"
73
+ ./gradlew :executorch_android:javaDocReleaseGeneration
74
+ cp -rf executorch_android/ build/intermediates/java_doc_dir/release/javaDocReleaseGeneration "${RUNNER_DOCS_DIR}/javadoc "
75
75
cd ../..
76
76
77
77
# If it's main branch, add noindex tag to all .html files to exclude from Google Search indexing.
Original file line number Diff line number Diff line change 76
76
ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
77
77
timeout : 90
78
78
script : |
79
- FILES_NEEDS_FORMAT=$(/opt/google-java-format -n extension/android/src/main/java/org/pytorch/executorch/*.java \
80
- examples/demo-apps/ android/ExecuTorchDemo/app/ src/main/java/com/example/executorchdemo /*.java \
79
+ FILES_NEEDS_FORMAT=$(/opt/google-java-format -n \
80
+ extension/ android/executorch_android/ src/main/java/org/pytorch/executorch /*.java \
81
81
examples/demo-apps/android/LlamaDemo/app/src/main/java/com/example/executorchllamademo/*.java \
82
82
extension/benchmark/android/benchmark/app/src/main/java/org/pytorch/minibench/*.java)
83
83
if [ -n "$FILES_NEEDS_FORMAT" ]; then
You can’t perform that action at this time.
0 commit comments