mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[project] minor update scripts optimization
- drops 'setupKotlinPlugin' task invocation (it is called later anyway) - fails the build on unsuccessful directory operations
This commit is contained in:
+3
-14
@@ -1,28 +1,17 @@
|
||||
<!-- Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
|
||||
<project name="IntelliJ IDEA CE build file" default="layout">
|
||||
<project name="IntelliJ IDEA CE developer's update" default="layout">
|
||||
<dirname property="build" file="${ant.file}"/>
|
||||
<property name="project.home" value="${build}/../"/>
|
||||
<property name="gant.home" value="${project.home}/build/lib/gant"/>
|
||||
|
||||
<condition property="gradle.executable"
|
||||
value="${project.home}/build/dependencies/gradlew.bat"
|
||||
else="${project.home}/build/dependencies/gradlew">
|
||||
<os family="windows"/>
|
||||
</condition>
|
||||
|
||||
<macrodef name="run">
|
||||
<attribute name="script"/>
|
||||
<attribute name="target" default="default"/>
|
||||
<attribute name="deploy"/>
|
||||
|
||||
<sequential>
|
||||
<exec executable="${gradle.executable}" dir="${project.home}/build/dependencies" failonerror="true">
|
||||
<arg value="--no-daemon"/>
|
||||
<arg value="setupKotlinPlugin"/>
|
||||
</exec>
|
||||
|
||||
<java failonerror="true" classname="org.apache.tools.ant.Main" fork="true">
|
||||
<jvmarg line="-Xms64m -Xmx512m"/>
|
||||
<java classname="org.apache.tools.ant.Main" dir="${project.home}" fork="true" failonerror="true">
|
||||
<jvmarg line="-Xmx512m"/>
|
||||
<jvmarg line=""-Ddeploy=@{deploy}""/>
|
||||
<jvmarg line=""-Dgant.script=@{script}""/>
|
||||
<jvmarg line=""-Dgant.target=@{target}""/>
|
||||
|
||||
Reference in New Issue
Block a user