Created
March 4, 2020 08:26
-
-
Save melnikovdv/566749fcbb25d61aecc7c966d63fca0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@file:Repository("https://jcenter.bintray.com") | |
@file:DependsOn("commons-io:commons-io:2.6") | |
import org.apache.commons.io.IOUtils | |
import java.io.FileInputStream | |
println("This script prints source of itself with Apache Commons IO Maven dependency:\n") | |
IOUtils.toString(FileInputStream("./test-01.main.kts"), "UTF-8") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment