= Kotlin Single-File Scripts

:language: Kotlin
:language-small: kotlin
:language-ext: kt

include::partial$Script_Header.adoc[]


== Script Use Cases

include::partial$example/kotlinlib/script/1-html-scraper.adoc[]
include::partial$example/kotlinlib/script/2-json-api-client.adoc[]
include::partial$example/kotlinlib/script/3-web-server.adoc[]
include::partial$example/kotlinlib/script/4-database.adoc[]
include::partial$example/kotlinlib/script/5-static-site.adoc[]

== Packaging Assemblies and Native Binaries

include::partial$example/kotlinlib/script/6-packaging.adoc[]


== Script moduleDeps

include::partial$example/kotlinlib/script/7-script-deps.adoc[]

== Relative and Absolute Script moduleDeps

include::partial$example/kotlinlib/script/8-relative-deps.adoc[]

== Project `moduleDeps`

include::partial$example/kotlinlib/script/9-programmable-module-deps.adoc[]


== Custom Script Module Classes

include::partial$example/kotlinlib/script/10-custom-class.adoc[]


== Script Resources

include::partial$example/kotlinlib/script/11-resources.adoc[]

include::partial$Script_Footer.adoc[]

== Custom JVM Versions

include::partial$example/kotlinlib/script/12-jvm-version.adoc[]