https://github.com/kikermo/matrix8
https://speakerdeck.com/kikermo/hardware-development-with-kmp-and-compose-multiplatform
#!/bin/bash | |
server="raspberrypi" | |
devicePort=5555 | |
# Function to display the menu | |
display_menu() { | |
clear | |
echo "===== Connect to ADB device =====" | |
for ((i=0; i<${#options[@]}; i++)); do |
initscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath "com.instamotor:mirakle:1.3.2" | |
} | |
} | |
apply plugin: Mirakle |
## android general build aliases | |
alias installDebug='adb install -r app/outputs/apk/<your_build_variant_dir>' | |
alias runDebug='adb shell am start -n <application_id>/<launch_activity>' | |
alias build='./gradlew assmeble<YourVariant> && installDebug && runDebug' | |
alias cleanBuild='./gradlew clean assmeble<YourVariant> && installDebug && runDebug' | |
## Mainframer aliases | |
alias mf='./mainframer.sh' |
src |
build |
.idea/* | |
*.iml | |
*.DS_Store | |
local.properties | |
.git |
remote_machine=mainframer | |
local_compression_level=1 | |
remote_compression_level=5 |
Host * | |
UseKeychain yes | |
AddKeysToAgent yes | |
IdentityFile ~/.ssh/id_rsa | |
Host mainframer | |
User <username_on_remote_machine> | |
HostName <remote_machiche_location> | |
Port 22 | |
IdentityFile ~/.ssh/id_rsa.pub |
export ANDOROID_HOME=/usr/lib/android-sdk | |
export ANDROID_SDK_ROOT=/usr/lib/android-sdk |