From 4d66ca88ee355450370922502bdffa39fe566a01 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Wed, 3 Dec 2014 20:52:37 +0300 Subject: [PATCH] Refactor building of kotlin-runtime.jar in build.xml - use the "new-kotlinc" macro to compile Java sources (can be disabled via an optional argument) as well as Kotlin - bend over backwards not to repeat source paths passed to kotlinc and javac - split "runtime" task into several smaller ones, which makes it possible to rebuild (and repack the whole jar) constituent modules separately --- build.xml | 136 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 92 insertions(+), 44 deletions(-) diff --git a/build.xml b/build.xml index de0845d8e0c..b30c676ae3e 100644 --- a/build.xml +++ b/build.xml @@ -312,7 +312,7 @@ - + - - - - - + + + + + + - - + + - - - - - - - - - - - - - - - - - + + + + - + + + - - - - - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -663,7 +709,7 @@ - + @@ -683,16 +729,18 @@ + + + depends="clean,init,prepare-dist,preloader,serialize-builtins,compiler-quick,ant-tools,jdk-annotations,android-sdk-annotations,runtime,jslib"/> @@ -727,7 +775,7 @@ - + @@ -740,7 +788,7 @@ - +