diff options
author | Dmitry Jemerov <intelliyole@gmail.com> | 2015-07-13 18:54:14 +0200 |
---|---|---|
committer | Dmitry Jemerov <intelliyole@gmail.com> | 2015-07-13 18:54:14 +0200 |
commit | 1a79c5d46536f1140f6348868aa14974182114ba (patch) | |
tree | 19a27e45be309dfc3425088ce8db93811177b38f /build.xml | |
parent | dfa23a3ff1b15570102d4431b7bfc709efa16a52 (diff) | |
parent | 0352d46db95ba375daa523bd5ec6e2f6b27f81f8 (diff) | |
download | dokka-1a79c5d46536f1140f6348868aa14974182114ba.tar.gz dokka-1a79c5d46536f1140f6348868aa14974182114ba.tar.bz2 dokka-1a79c5d46536f1140f6348868aa14974182114ba.zip |
Merge pull request #29 from cy6erGn0m/gradle-plugin
Gradle plugin
Diffstat (limited to 'build.xml')
-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> |