Skip to content

Instantly share code, notes, and snippets.

@blangel
Created February 20, 2012 03:35
Show Gist options
  • Save blangel/1867624 to your computer and use it in GitHub Desktop.
Save blangel/1867624 to your computer and use it in GitHub Desktop.
Running Kotlin Main - Ant Build Relevant
<path id="classpath.run">
<pathelement path="${output}/"/>
<pathelement path="${env.KOTLIN_HOME}/dist/kotlinc/lib/kotlin-runtime.jar"/>
</path>
<target name="run">
<java classname="namespace">
<sysproperty key="file.encoding" value="UTF-8"/>
<classpath refid="classpath.run"/>
</java>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment