added gradle build

This commit is contained in:
Marcel M. Otte 2016-04-19 07:43:19 +02:00
parent d3ddc89e7b
commit 38ab9c47a1
2 changed files with 15 additions and 3 deletions

View File

@ -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:

View File

@ -0,0 +1,6 @@
apply plugin: 'java'
jar {
baseName = 'cmdlineoptions'
version = '0.1.0'
}