From 56b05d0a0064aecf9dd039aa9573b92f2138ec3c Mon Sep 17 00:00:00 2001 From: kaifox Date: Wed, 20 Nov 2019 14:51:16 +0100 Subject: [PATCH] including bintray plugin --- build.gradle | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.gradle b/build.gradle index 0fdfba9..7386a1b 100644 --- a/build.gradle +++ b/build.gradle @@ -5,6 +5,17 @@ buildscript { project.ext['BINTRAY.userName'] = System.getProperty('BINTRAY_USER') ?: System.getenv('BINTRAY_USER') project.ext['BINTRAY.apiToken'] = System.getProperty('BINTRAY_API_TOKEN') ?: System.getenv('BINTRAY_API_TOKEN') + + + repositories { + if (project['CERN_VM']) { + maven { url 'http://artifactory.cern.ch/ds-jcenter' } + maven { url 'http://artifactory.cern.ch/development' } + } else { + jcenter() + } + } + dependencies { classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' } } apply plugin: 'java'