Shared Gradle build file used by many alclabs projects
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This project contains the shared part of the gradle build file used for many of the ALClabs WebCTRL add-on web application projects.

To use this, include the following in the header of your gradle build file. configurations { gradleScript } repositories { mavenRepo urls: '' } dependencies { gradleScript group: 'com.alcshare', name: 'alclabs-gradle', ext: 'gradle', version: '1.0.1' } apply from: configurations.gradleScript.resolve().iterator().next()

This shared gradle file includes:

  • plugin war
  • plugin groovy (which includes java)
  • plugin idea
  • plugin eclipse
  • sets up maven central as a repo
  • configures the war task to use an all lower case name without a version in the war name
  • wrapper task to generate a gradle wrapper
  • deploy task to deploy an exploded war to your WebCTRL webapp directory
  • gradle GUI launcher

If you run gradlew for a project using this shared file without any parameters, it will launch the gradle gui.

The first time you run the deploy task, it will prompt you for the location of your WebCTRL installation, so it can deploy your web app correctly.