From 23e875e1d6d644178cbe09c8ba678baae9bfb973 Mon Sep 17 00:00:00 2001 From: Andrew Oberstar Date: Sun, 8 Apr 2018 10:05:34 -0500 Subject: [PATCH] Use newer defaults This enables better upload of test results to circle ci. --- build.gradle | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 4c7a79f0..c23012fc 100644 --- a/build.gradle +++ b/build.gradle @@ -10,15 +10,21 @@ allprojects { group = 'org.ajoberstar.reckon' - plugins.withId('java') { - model { - bintray { - owner = 'ajoberstar' - repo = 'maven' - pkg = 'reckon' + plugins.withId('maven-publish') { + publishing { + repositories { + maven { + name = 'bintray' + url = 'https://api.bintray.com/maven/ajoberstar/maven/reckon/;publish=1' + credentials { + username = System.env['BINTRAY_USER'] + password = System.env['BINTRAY_KEY'] + } } + } } } + } ext.grgitVersion = '[2.0.0,)'