refactored out the KDocLoader stuff from the KotlinCompiler; also introduced CompilerPluginContext to wrap up the Project, BindingContext and List<JetFiles> in case a plugin were to need any of those things (or we added extra stuff later like the environment)

This commit is contained in:
James Strachan
2012-03-29 16:35:58 +01:00
parent ed04839901
commit beedd36456
14 changed files with 108 additions and 199 deletions
+6
View File
@@ -468,14 +468,20 @@
<include name="maven/src"/>
<include name="gradle/src"/>
</dirset>
<dirset dir="${basedir}/js">
<include name="js.translator/src"/>
</dirset>
<!--
<dirset dir="${basedir}/j2k">
<include name="src"/>
</dirset>
-->
</src>
<compilerarg value="-Xlint:all"/>
<classpath>
<path refid = "classpath.kotlin"/>
<fileset dir = "${ant.home}/lib" includes="*.jar"/>
<fileset dir = "${basedir}/js/js.translator/lib" includes="*.jar"/>
</classpath>
</javac>
<jar destfile="${kotlin-home}/lib/kotlin-build-tools.jar">