# docker box definition
box: nhelsherif/jdk-gradle

# defining the build pipeline
build:
  steps:
    - script:
        name: show base information
        code: |
            echo $JAVA_HOME
            java -version
            javac -version
            gradle -v
    - script:
        name: Gradle Build
        code: |
            gradle clean build shadowJar
  steps:
   - tcnksm/goveralls:
     token: $COVERALLS_TOKEN

# docker box definition
box: ekholabs/wercker-jdk8-go

# defining the build pipeline
build:
  steps:
    - script:
        name: show base information
        code: |
            echo $JAVA_HOME
            java -version
            javac -version
            gradle -v
    - script:
        name: Gradle Build
        code: |
            ./gradlew wrapper
            ./gradlew clean build shadowJar
  steps:
   - tcnksm/goveralls:
     token: $COVERALLS_TOKEN

Update docker image and use gradlew
Update docker image and use gradlew