Documentation: myrpisset.github.io/bastion-android
Bastion is an SSH client. This repo holds the version for Android, built with Kotlin, Gradle and Apache MINA SSHD. The other platforms have their own repos: Bastion for Apple, Bastion for Linux, Bastion for Windows. The Bastion hub ties them together.
| Path | Contents |
|---|---|
Android/app/ |
The app: connection, SSH session and system information |
Android/ |
The Gradle project with its own wrapper |
gradlew, gradlew.bat |
Root scripts that run Android/gradlew with --project-dir Android, so tools run from the root find the project |
gradle/ |
Symbolic links to the wrapper files in Android/gradle/wrapper/ |
docs/, zensical.toml, overrides/ |
The documentation site |
Test:
./gradlew testBuild a debug APK:
./gradlew assembleDebugRun the commands from the repo root; the root gradlew forwards to Android/. You need a JDK from 17 to 27 (the range Gradle 9.8.2 runs on) and the Android SDK with platform android-35, with ANDROID_HOME set or sdk.dir in Android/local.properties. See Getting started for details.
- The documentation: getting started, architecture, operations, sync format and releases
- The dependency graph: how build-only dependencies on the buildscript and lint tool classpaths are kept patched and out of the app
- SECURITY.md: report a vulnerability
- CONTRIBUTING.md: contribute