Simple agenda on a file
Project to exercise basic I/O with kotlin
How to build
bash
kotlinc src/**/*.kt -include-runtime -d cmd-agenda.jarHow to run
bash
java -jar cmd-agenda.jarNoteworthy
- You can instruct the kotlin compiler to build a runnable jar file instead of stop the build with intermediate classes. The jar files are the standard way of share java compiled code, and so it is for kotlin.
- Method forEachLine is a kotlin extension to the
Pathsjava utility class. Check the stdlib for more useful functions.
See docs for further details.