Groovy - Installation / Configuration

Card Puncher Data Processing

About

See http://www.groovy-lang.org/install.html

Linux

brew install groovy          # Homebrew
sudo apt-get install groovy  # Debian-based
sudo yum install groovy      # RHEL and friends

Idea

  • Right click on the Root project Directory > Add FrameWork Support > Groovy. See Groovy - Idea

Environment Parameters

  • GROOVY_HOME

grapeConfig.xml

The repositories used by grape (Dependency Manager) are configured in a Ivy settings file located ~/.groovy/grapeConfig.xml

<ivysettings>
  <settings defaultResolver="downloadGrapes"/>
  <resolvers>
    <chain name="downloadGrapes" returnFirst="true">
      <filesystem name="cachedGrapes">
        <ivy pattern="${user.home}/.groovy/grapes/[organisation]/[module]/ivy-[revision].xml"/>
        <artifact pattern="${user.home}/.groovy/grapes/[organisation]/[module]/[type]s/[artifact]-[revision](-[classifier]).[ext]"/>
      </filesystem>
      <ibiblio name="localm2" root="file:${user.home}/.m2/repository/" checkmodified="true" changingPattern=".*" changingMatcher="regexp" m2compatible="true"/>
      <!-- todo add 'endorsed groovy extensions' resolver here -->
      <ibiblio name="jcenter" root="https://jcenter.bintray.com/" m2compatible="true"/>
      <ibiblio name="ibiblio" m2compatible="true"/>
    </chain>
  </resolvers>
</ivysettings>







Share this page:
Follow us:
Task Runner