Skip to content

Commit 95d73fd

Browse files
committed
feat(android-app): extract ModelList, add build configs and SDK build script
Android app optimization: - Extract model registration to data/ModelList.kt (centralized, declarative) - Create data/models/AppModel.kt data class with supportsLoraAdapters field - Simplify RunAnywhereApplication to delegate to ModelList.setupModels() - Remove runBlocking calls in SDK initialization Build system: - Add build-sdk.sh wrapper script for full C++ + Kotlin build pipeline - Add Gradle tasks: buildCpp, buildFullSdk, copyNativeLibs - Replace 10 old IntelliJ run configs with 13 new ones covering the full build pipeline including C++ native builds
1 parent 522a64a commit 95d73fd

20 files changed

Lines changed: 392 additions & 234 deletions

.idea/runConfigurations/01_Build_Full_SDK__C____Kotlin_.xml

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/8_Run_IntelliJ_Plugin.xml renamed to .idea/runConfigurations/02_Build_C__.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/2_Build_SDK.xml renamed to .idea/runConfigurations/03_Build_Kotlin_SDK.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/04_Copy_Native_Libs.xml

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/3_Build_SDK_Release.xml renamed to .idea/runConfigurations/05_Build_SDK_Release.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/5_Build_Android_App.xml renamed to .idea/runConfigurations/06_Build_Android_App.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/6_Run_Android_App.xml renamed to .idea/runConfigurations/07_Run_Android_App.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/4_Publish_SDK_to_Maven_Local.xml renamed to .idea/runConfigurations/08_Publish_Maven_Local.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/7_Build_IntelliJ_Plugin.xml renamed to .idea/runConfigurations/09_Build_IntelliJ_Plugin.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/10_Run_IntelliJ_Plugin.xml

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)