From 38ab9c47a1f44a3731e26d85410f54aec117bbd2 Mon Sep 17 00:00:00 2001 From: "Marcel M. Otte" Date: Tue, 19 Apr 2016 07:43:19 +0200 Subject: [PATCH] added gradle build --- .gitlab-ci.yml | 12 +++++++++--- java/build.gradle | 6 ++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 971aeaf..f6e375f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,9 +11,15 @@ build-c: - c/libcmdlineoptions.* - c/tests-* -#build-java: -# image: archlinux_jdk8 -# stage: build +build-java: + image: archlinux_jdk8 + stage: build + script: + - cd java + - gradle build + artifacts: + paths: + - java/build/libs/cmdlineoptions*.jar #test-c: diff --git a/java/build.gradle b/java/build.gradle index e69de29..e8242f1 100644 --- a/java/build.gradle +++ b/java/build.gradle @@ -0,0 +1,6 @@ +apply plugin: 'java' + +jar { + baseName = 'cmdlineoptions' + version = '0.1.0' +}