https://github.com/raphiz/gradle-nix-example
Kotlin + Gradle + Nix = ❤️
https://github.com/raphiz/gradle-nix-example
Last synced: about 1 year ago
JSON representation
Kotlin + Gradle + Nix = ❤️
- Host: GitHub
- URL: https://github.com/raphiz/gradle-nix-example
- Owner: raphiz
- License: unlicense
- Created: 2025-02-20T11:47:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-20T11:54:19.000Z (over 1 year ago)
- Last Synced: 2025-02-20T12:33:39.370Z (over 1 year ago)
- Language: Nix
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kotlin + Gradle + Nix = ❤️
This is an example starter template for your next Kotlin JVM app.
The template offers a ready-to-start project skeleton and development environment including linting (ktlint, detekt, sqlfluff and more), a [nix derivation](https://nix.dev/manual/nix/2.24/language/derivations) and a NixOS module (with tests!).
## Prerequisites
This project requires [Nix](https://nixos.org/) with [flakes](https://nixos.wiki/wiki/Flakes) support for both the development and the build process - but nothing else!
## Development Environment
```bash
# Manually start development environment ...
nix develop
# ... or let direnv do it for you
direnv allow
```
You will be greeted with a list of all available commands.
## Make the template your own
- Search and replace `Example Application` and `example` (including folder names)
- Search for `TODO` to ensure you set licenses etc. properly
- Replace the Project license
- Have fun 🚀
## Further Resources
This repo just glues the awesome work of others together.
- [blueprint](https://github.com/numtide/blueprint)
- [devshell](https://github.com/numtide/devshell)
- [pre commit](https://pre-commit.com/) and [git-hooks.nix](github.com/cachix/git-hooks.nix)
- [buildGradleApplication](https://github.com/raphiz/buildGradleApplication)