Extract compiler-for-maven target in build.xml
To be used after "compiler-quick" to quickly test changes to the compiler in the Maven build
This commit is contained in:
@@ -643,6 +643,11 @@
|
|||||||
<proguard configuration="${basedir}/compiler/compiler.pro"/>
|
<proguard configuration="${basedir}/compiler/compiler.pro"/>
|
||||||
</sequential>
|
</sequential>
|
||||||
|
|
||||||
|
<pack-compiler-for-maven/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<macrodef name="pack-compiler-for-maven">
|
||||||
|
<sequential>
|
||||||
<jar jarfile="${output}/kotlin-compiler-for-maven.jar" duplicate="preserve">
|
<jar jarfile="${output}/kotlin-compiler-for-maven.jar" duplicate="preserve">
|
||||||
<patternset id="lib.metainf.patternset">
|
<patternset id="lib.metainf.patternset">
|
||||||
<include name="**"/>
|
<include name="**"/>
|
||||||
@@ -672,6 +677,11 @@
|
|||||||
<attribute name="Main-Class" value="org.jetbrains.kotlin.cli.jvm.K2JVMCompiler"/>
|
<attribute name="Main-Class" value="org.jetbrains.kotlin.cli.jvm.K2JVMCompiler"/>
|
||||||
</manifest>
|
</manifest>
|
||||||
</jar>
|
</jar>
|
||||||
|
</sequential>
|
||||||
|
</macrodef>
|
||||||
|
|
||||||
|
<target name="compiler-for-maven">
|
||||||
|
<pack-compiler-for-maven/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="kotlin-build-common">
|
<target name="kotlin-build-common">
|
||||||
|
|||||||
Reference in New Issue
Block a user