-
Notifications
You must be signed in to change notification settings - Fork 358
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
62 lines (54 loc) · 2.25 KB
/
settings.gradle.kts
File metadata and controls
62 lines (54 loc) · 2.25 KB
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
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenLocal()
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
// Keep this for the PDFBox-Android library
maven { url = uri("https://oss.sonatype.org/content/repositories/releases/") }
}
versionCatalogs {
create("libs") {
// Using File(settingsDir, ...) makes the relative path absolute
from(files(File(settingsDir, "../../../gradle/libs.versions.toml")))
}
}
}
rootProject.name = "RunAnywhereAI"
include(":app")
// SDK (local project dependency)
include(":runanywhere-kotlin")
project(":runanywhere-kotlin").projectDir = file("../../../sdk/runanywhere-kotlin")
// =============================================================================
// Backend Adapter Modules (Pure Kotlin - no native libs)
// =============================================================================
// These modules provide Kotlin adapters for specific AI backends.
// Native libraries are bundled in the main SDK (runanywhere-kotlin).
// LlamaCPP module - LLM text generation adapter
include(":runanywhere-core-llamacpp")
project(":runanywhere-core-llamacpp").projectDir =
file("../../../sdk/runanywhere-kotlin/modules/runanywhere-core-llamacpp")
// ONNX module - STT, TTS, VAD adapter
include(":runanywhere-core-onnx")
project(":runanywhere-core-onnx").projectDir =
file("../../../sdk/runanywhere-kotlin/modules/runanywhere-core-onnx")
// RAG pipeline is now part of the core SDK (not a separate module).
// Registration is handled by ragCreatePipeline(). See: RunAnywhere+RAG.jvmAndroid.kt
// Genie module - Qualcomm NPU-accelerated LLM (Snapdragon 8 Gen 2+)
// Now distributed as a closed-source AAR from a private repo.
// Add the dependency in app/build.gradle.kts:
// implementation("io.github.sanchitmonga22:runanywhere-genie-android:0.2.1")