From 6d115406d5d98b961080ff761deca8422dff544a Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Fri, 14 Dec 2018 13:55:10 +0300 Subject: [PATCH] pasto: braking usage of MavenPublications --- .../com/jfrog/bintray/gradle/tasks/BintrayUploadTask.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/groovy/com/jfrog/bintray/gradle/tasks/BintrayUploadTask.groovy b/src/main/groovy/com/jfrog/bintray/gradle/tasks/BintrayUploadTask.groovy index 789a37b..68b46bc 100644 --- a/src/main/groovy/com/jfrog/bintray/gradle/tasks/BintrayUploadTask.groovy +++ b/src/main/groovy/com/jfrog/bintray/gradle/tasks/BintrayUploadTask.groovy @@ -218,7 +218,7 @@ class BintrayUploadTask extends DefaultTask { } else { logger.error("{}: Could not find publication: {}.", path, it); } - } else if (conf instanceof MavenPublication) { + } else if (it instanceof MavenPublication) { return collectArtifacts((Configuration) it) } else { logger.error("{}: Unsupported publication type: {}.", path, it.class)