https://github.com/erikhuizinga/kotfee
Google's Dagger 2 coffee maker example in Kotlin
https://github.com/erikhuizinga/kotfee
coffee dagger-2 dagger2 kotlin
Last synced: about 1 year ago
JSON representation
Google's Dagger 2 coffee maker example in Kotlin
- Host: GitHub
- URL: https://github.com/erikhuizinga/kotfee
- Owner: erikhuizinga
- License: apache-2.0
- Created: 2017-12-08T07:22:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-18T11:01:11.000Z (over 8 years ago)
- Last Synced: 2025-04-10T06:05:31.122Z (about 1 year ago)
- Topics: coffee, dagger-2, dagger2, kotlin
- Language: Kotlin
- Homepage: https://erikhuizinga.github.io/kotfee/
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# kotfee ☕️
[Google's Dagger 2.13 coffee maker example](https://github.com/google/dagger/tree/dagger-2.13/examples/simple) in Kotlin using Gradle (instead of Maven, like in Google's example).
# How-to
## Run in IDE
Make sure you run Gradle task `kaptKotlin` before running directly from your IDE (e.g. IntelliJ IDEA). This task runs Kotlin's annotation processor and generates stubs that otherwise may not be found by your IDE, resulting in an error.
## Run from command line
```bash
./gradlew jar # Also runs kaptKotlin before putting it all into a jar
java -jar build/libs/kotfee.jar
```