Browse files

Remove the build command, depend on defaultTasks list in gradle build…

… file.
  • Loading branch information...
1 parent 2af5df1 commit d71e5a71c40a85fada1248edf55926c923a804b3 @marc0der committed Feb 6, 2014
Showing with 9 additions and 3 deletions.
  1. +9 −0
  2. +0 −3 bin/compile
@@ -2,10 +2,19 @@
This buildpack can be used to run a gradle wrapper on Heroku.
Simply add a `Procfile` to the root of your project in order to bootstrap your app.
In this case a spring-boot app:
web: java -jar -Dport=$PORT build/libs/spring-boot.jar
+###Default Tasks
+The gradle wrapper will be run without any tasks in order to make the build as flexible as possible. Ensure that the `build.gradle` defines a defaultTasks list including all tasks that need to be run for a successful deploy. For example, a Ratpack application would require the follwing in the build file:
+ defaultTasks = ["clean", "build", "installApp"]
@@ -30,9 +30,6 @@ if [ ! -d $CACHE_DIR ] ; then

0 comments on commit d71e5a7

Please sign in to comment.