set(CATKIN_GLOBAL_MAVEN_DESTINATION ${CATKIN_GLOBAL_SHARE_DESTINATION}/maven CACHE PATH "path to which maven artifacts are deployed in your workspace")
set(CATKIN_GLOBAL_GRADLE_DESTINATION ${CATKIN_GLOBAL_SHARE_DESTINATION}/gradle CACHE PATH "path to which gradle configuration and artifacts are deployed in your workspace")
# Scans down directories till it finds the gradle wrapper.
# It sets the following variables
...
...
@@ -40,13 +41,29 @@ endmacro()
# Sets environment variables that are used by gradle to customise a build.
# This is better than modifying a gradle script - gradle should be able
# to be called alone without cmake intervention.
#
# Actually, this will naturally be picked up by setup.bash->env-hooks after the
# first build, but this does help it find variables if you're compiling the env-hooks
# from rosjava_build_tools in the same 'make' build.