Contributing
Prerequisites
- JDK 17+
- Android SDK (API 35)
- Kotlin 2.0+
Local setup
git clone https://github.com/funyin/FormValidator.git
cd FormValidator
# Build the library
./gradlew :FormValidator:build
# Run JVM unit tests
./gradlew :FormValidator:test
# Run Android instrumented tests (requires a connected device or emulator)
./gradlew connectedAndroidTest
Running the demo app
Open the project in Android Studio and run the app configuration on any API 21+ device or emulator.
Docs setup
brew install python@3.12 # one-time
python3.12 -m venv venv # one-time per clone
source venv/bin/activate # every new terminal
pip install -r requirements.txt
zensical serve
The local preview is at http://127.0.0.1:8000.
Opening a pull request
- Fork the repository and create a branch from
master. - Make your changes and add or update tests where applicable.
- Run
./gradlew :FormValidator:testto confirm nothing is broken. - Open a pull request against
master. Describe what changed and why.
Reporting a bug
Open a GitHub Issue and include:
- FormValidator version
- Target platform (Android / JVM / iOS)
- A minimal reproducible example
- Expected vs actual behaviour