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,)'