From 906e6aea38bd67a0fc5f46f9baa0daa966c099d6 Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Mon, 5 Jul 2021 10:32:53 +0300 Subject: [PATCH] Set correct group and version --- .drone.yml | 17 +---------------- build.gradle | 7 +++++-- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/.drone.yml b/.drone.yml index 09ece12..baaa6aa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -46,19 +46,4 @@ steps: trigger: ref: include: - - refs/tags/** - -services: - - name: docker - image: docker:dind - privileged: true - volumes: - - name: dockersock - path: /var/run - -volumes: - - name: dockersock - temp: {} - - name: cache - host: - path: /tmp/hits-drone-cache + - refs/tags/** \ No newline at end of file diff --git a/build.gradle b/build.gradle index 7e2db47..58f9fbd 100644 --- a/build.gradle +++ b/build.gradle @@ -2,8 +2,11 @@ plugins { id "com.google.cloud.tools.jib" version "3.1.1" apply false } -group 'com.devsoap.parsers' -version '1.0' + +allprojects { + version = findProperty('BUILD_VERSION') ?: 'latest' + group = "com.devsoap" +} subprojects { apply plugin: 'java'