diff options
author | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-10 19:53:23 +0300 |
---|---|---|
committer | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-13 17:59:38 +0300 |
commit | 698dd15f8d5be356813f24d773057ed7a7fd8253 (patch) | |
tree | 641246ac45ac98424784bae653e57980b457ef70 | |
parent | b166d2ec2418f184ad31159c4307ae858193871f (diff) | |
download | dokka-698dd15f8d5be356813f24d773057ed7a7fd8253.tar.gz dokka-698dd15f8d5be356813f24d773057ed7a7fd8253.tar.bz2 dokka-698dd15f8d5be356813f24d773057ed7a7fd8253.zip |
Ant build to support gradle-plugin build too
-rw-r--r-- | build.xml | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -7,6 +7,8 @@ <target name="clean"> <delete dir="out" /> <delete dir="maven-plugin/target" /> + <delete dir="gradle-plugin/build" /> + <delete dir="gradle-plugin/.gradle" /> </target> <target name="build"> @@ -52,7 +54,17 @@ </install> </target> - <target name="build-and-install" depends="install-fj"> + <target name="gradle-install" depends="install-fj"> + <exec executable="${basedir}/gradle-plugin/gradlew" dir="gradle-plugin" osfamily="unix" failonerror="true"> + <arg value="assemble" /> + <arg value="publishToMavenLocal" /> + </exec> + <exec executable="cmd.exe" dir="gradle-plugin" osfamily="windows" failonerror="true"> + <arg line="/c ${basedir}\gradle-plugin\gradlew.bat assemble publishToMavenLocal" /> + </exec> + </target> + + <target name="build-and-install" depends="install-fj,gradle-install"> <mvn mavenversion="3.0.5" dir="maven-plugin" pom="maven-plugin/pom.xml"> <arg value="install" /> </mvn> |