You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update READMEs + example configs to useLocalNatives
Sweep across every doc + config file that referenced the old toggle
names so the entire repo is internally consistent with the canonical
`useLocalNatives` property name landed in the build files.
Files touched:
- AGENTS.md, build.gradle.kts, jitpack.yml
- docs/building.md, docs/sdks/kotlin-sdk.md
- sdk/runanywhere-{swift,kotlin,flutter,react-native}/README.md
- sdk/runanywhere-kotlin/docs/KOTLIN_MAVEN_CENTRAL_PUBLISHING.md
- sdk/runanywhere-kotlin/modules/runanywhere-core-{llamacpp,onnx}/README.md
- examples/android/RunAnywhereAI/README.md
- examples/react-native/RunAnywhereAI/android/gradle.properties.example
No code changes. `runanywhere.testLocal` (the legacy alias) still works
as documented in the build files — these docs just surface the canonical
name as primary.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: AGENTS.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This is a cross-platform SDK monorepo. On a Linux cloud VM, the buildable servic
8
8
9
9
| Component | Build | Test | Lint | Notes |
10
10
|-----------|-------|------|------|-------|
11
-
| Kotlin SDK (Android target) |`./gradlew :runanywhere-kotlin:compileDebugKotlinAndroid -Prunanywhere.testLocal=false`| Android unit tests require device/emulator |`./gradlew :runanywhere-kotlin:runKtlintCheckOverCommonMainSourceSet`| JVM target has a known issue: `RAGBridge.kt` in `jvmAndroidMain` imports `@Keep` from `androidx.annotation` which is unavailable for JVM compilation |
11
+
| Kotlin SDK (Android target) |`./gradlew :runanywhere-kotlin:compileDebugKotlinAndroid -Prunanywhere.useLocalNatives=false`| Android unit tests require device/emulator |`./gradlew :runanywhere-kotlin:runKtlintCheckOverCommonMainSourceSet`| JVM target has a known issue: `RAGBridge.kt` in `jvmAndroidMain` imports `@Keep` from `androidx.annotation` which is unavailable for JVM compilation |
12
12
| Web SDK (TypeScript) |`npm run build -w packages/core` (from `sdk/runanywhere-web/`) | N/A |`npm run typecheck -w packages/core`|`llamacpp` package has a pre-existing duplicate index signature TS error |
13
13
| Web Example App |`npm run dev` (from `examples/web/RunAnywhereAI/`) | Manual browser testing at `localhost:5173`| N/A | Full Vite app, works in demo mode without WASM |
14
14
| C++ Commons (core) |`cmake -B build ... && cmake --build build` (from `sdk/runanywhere-commons/`) |`./build/tests/test_core --run-all` (13 tests, no models needed) | N/A | Must use `gcc`/`g++` via `CC=gcc CXX=g++` (clang lacks C++ stdlib headers). Pass `-DRAC_BUILD_PLATFORM=OFF` on Linux |
@@ -21,7 +21,7 @@ This is a cross-platform SDK monorepo. On a Linux cloud VM, the buildable servic
21
21
22
22
-**Android SDK**: Installed at `/opt/android-sdk`. `ANDROID_HOME` and `JAVA_HOME` are set in `~/.bashrc`.
23
23
-**JDK 17**: Required by Gradle JVM toolchain. Both JDK 17 and JDK 21 are installed.
24
-
-**`testLocal` flag**: Set to `true` in `gradle.properties`. Pass `-Prunanywhere.testLocal=false` to Gradle to avoid needing Android NDK (downloads pre-built JNI libs from GitHub releases instead of building locally).
24
+
-**`testLocal` flag**: Set to `true` in `gradle.properties`. Pass `-Prunanywhere.useLocalNatives=false` to Gradle to avoid needing Android NDK (downloads pre-built JNI libs from GitHub releases instead of building locally).
25
25
-**C++ compiler**: Default clang on this VM lacks `libc++` headers. Use `gcc`/`g++` via `-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++`.
26
26
-**`local.properties`**: Auto-created at root, `sdk/runanywhere-kotlin/`, and `examples/android/RunAnywhereAI/` with `sdk.dir=/opt/android-sdk`.
27
27
-**pre-commit hooks**: Installed via `pre-commit install`. Requires `git config --unset-all core.hooksPath` first if `core.hooksPath` is set.
0 commit comments