aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-06-18 11:46:18 +0200
committerDmitry Jemerov <yole@jetbrains.com>2015-06-18 11:46:18 +0200
commit648faf5783a78ebb4399f219ec87104c551567b2 (patch)
treedb57ae947f1676d845cc7f49599c225bea93791d /build.xml
parentc858ffdfdc18d855c7964a686a44dc4aa118db10 (diff)
downloaddokka-648faf5783a78ebb4399f219ec87104c551567b2.tar.gz
dokka-648faf5783a78ebb4399f219ec87104c551567b2.tar.bz2
dokka-648faf5783a78ebb4399f219ec87104c551567b2.zip
allow repeated compilation for warm benchmarking
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index dda2ac2e..c5532e58 100644
--- a/build.xml
+++ b/build.xml
@@ -1,10 +1,13 @@
<project name="Dokka" default="build">
<typedef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.compiler}/lib/kotlin-ant.jar"/>
+ <property name="kotlinc.repeat" value="1"/>
<target name="build">
<mkdir dir="out"/>
<kotlinc src="src" output="out/dokka.jar">
+ <compilerArg value="-Xrepeat"/>
+ <compilerArg value="${kotlinc.repeat}"/>
<classpath>
<fileset dir="lib" includes="*.jar"/>
</classpath>