Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 698 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 698 Bytes

Wercker Oracle Java 8 box

Wercker box with Oracle Java 8 and maven and gradle installed

Basic working example

To build simple Spring Boot application You just have to create wercker.yml file with following content and place in the root of your Java project.

box: mihkels/[email protected]
build:
  steps:
    - script:
        name: Show base information
          code: |
            gradle -v
            echo $JAVA_HOME
            java -version
            javac -version
      - script:
          name: Run gradle
          code: |
            gradle --full-stacktrace -q --project-cache-dir=$WERCKER_CACHE_DIR assamble