Commit 0a9dede
authored
Fix : Gradle Build System, & Build Configs (#379)
* Restructure Gradle build system and fix ONNX header downloads
- Flatten module paths in root settings.gradle.kts for monorepo builds
- Add root-level convenience tasks (setup, buildSdk, buildAll, cleanAll)
- Fix Android app and IntelliJ plugin to use composite/Maven Local SDK
- Add build-all-test.yml CI workflow for manual smoke testing
- Fix ONNX C++ header downloads (ensure_headers runs even when jniLibs exist)
- Fix cross-platform sed compatibility in build-kotlin.sh
- Reorganize IDE run configurations with numbered ordering
* 1. LiveTranscriptionSession.swift:77 — Added @sendable to the onTermination closure and [weak self] to the inner Task
to satisfy Swift concurrency's Sendable requirements.
2. RunAnywhere+VisionLanguage.swift:143 — Copied cImage into a var localCImage inside the Task closure so the
non-Sendable var isn't mutated across concurrent contexts.
* Reverted back
* Address PR review feedback and add CMake dev preset
- Use firstOrNull with explicit error for backend module project resolution
- Remove transient build artifact VCS mappings from .idea/vcs.xml
- Add --fail to curl calls in download script to prevent silent corruption
- Add .onnx-header-version sentinel for ONNX Runtime header version tracking
- Treat missing .sherpa-header-version as version mismatch
- Remove continue-on-error from publishToMavenLocal in CI workflow
- Add CMakePresets.json for CLion IDE indexing (JNI + backends)
- Auto-detect JAVA_HOME from PATH when not set (SDKMAN/jenv support)
* Improve CLion IDE indexing for JNI and shared dependencies
Move nlohmann_json and JNI detection to root CMakeLists.txt with
project-wide include_directories so CLion resolves headers in all
files, including backend JNI sources not compiled in the dev preset.
Fix AttachCurrentThread casts for desktop JDK compatibility.
* Update IntelliJ plugin demo to match current SDK API
- Fix imports: SDKEnvironment, ModelInfo, RunAnywhere moved to public package
- Remove dead APIs: JvmWhisperSTTServiceProvider, ServiceContainer,
ModuleRegistry, STTStreamEvent (no longer exist in SDK)
- Replace startStreamingTranscription/startRecordingWithWaveform with
JvmAudioCaptureManager + RunAnywhere.transcribe() pattern
- Fix Maven coordinates in build.gradle.kts
- Remove continue-on-error from CI intellij-plugin job
* Fix CI by properly tracking nested gradle-wrapper.jar, removing the namespace override and correcting the Maven coordinate to io.github.sanchitmonga22, and speed up Swift CI by dropping source builds in favor of pre-built XCFramework downloads.
---------1 parent c403769 commit 0a9dede
43 files changed
Lines changed: 1238 additions & 1583 deletions
File tree
- .github/workflows
- .idea
- runConfigurations
- docs
- examples
- android/RunAnywhereAI
- app
- intellij-plugin-demo/plugin
- gradle/wrapper
- src/main/kotlin/com/runanywhere/plugin
- actions
- services
- toolwindow
- ui
- sdk
- runanywhere-commons
- scripts/android
- src/jni
- runanywhere-kotlin
- modules
- runanywhere-core-llamacpp
- runanywhere-core-onnx
- scripts
- runanywhere-swift/Sources/RunAnywhere/Public
- Extensions/VLM
- Sessions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 36 deletions
This file was deleted.
0 commit comments