This project is archived. Its data is read-only.

Gradle CI Templates Outdated

The .gitlab-ci.yml templates, especially the ones for gradle and android, are outdated.

The current templates description states that there is currently no officially supported gradle image, this has changed. A gradle library image with the gradle team's approval is now available at Docker Hub. I think the templates use can be more efficient with the mentioned official gradle image.

This is what the updated Gradle template could look like:

image: gradle:alpine

stages:
  - build
  - test

build:
   stage: build
   script: gradle build
   allow_failure: false

test:
   stage: test
   script: gradle test

I also have created a repository to showcase its use: https://gitlab.com/UnlikePluto/GradleShowcase

Links

https://hub.docker.com/_/gradle/

Edited Jun 05, 2017 by UnlikePluto
Assignee Loading
Time tracking Loading