From 8ea1aef173d5db552b4a38a0376d0768fda76c68 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Tue, 21 Aug 2018 23:58:42 -0400 Subject: [PATCH] I'm crazy --- api/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/build.gradle b/api/build.gradle index becadce87..afc2c8a6b 100644 --- a/api/build.gradle +++ b/api/build.gradle @@ -61,7 +61,7 @@ publishing { repositories { maven { name = 'myRepo' - def base = project.ext.getCurrentBranchName() == "master" ? File.createTempDir().toURI().toURL().toString() : 'file:///maven-repo' + def base = project.ext.getCurrentBranchName() == "master" ? 'file:///maven-repo' : File.createTempDir().toURI().toURL().toString() def releasesRepoUrl = "$base/releases" def snapshotsRepoUrl = "$base/snapshots" url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl