Use (new) plugin mechanism when applicable
Use (new) plugin mechanism when applicable

https://plugins.gradle.org/plugin/com.jfrog.bintray#new-plugin-mechanism-info-body

It has the benefit to isolate plugin classloader.

So no more incompatibility with the bintray plugin!
    	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
    	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
    Caused by: java.lang.VerifyError: (class: org/apache/maven/project/MavenProject, method: getSnapshotArtifactRepository signature: ()Lorg/apache/maven/artifact/repository/ArtifactRepository;) Incompatible argument to function
    	at com.jfrog.bintray.gradle.Utils.readArtifactIdFromPom(Utils.groovy:36)
    	at com.jfrog.bintray.gradle.Utils$readArtifactIdFromPom.call(Unknown Source)
    	at com.jfrog.bintray.gradle.BintrayUploadTask.collectArtifacts(BintrayUploadTask.groovy:585)
    	at com.jfrog.bintray.gradle.BintrayUploadTask$_bintrayUpload_closure1.doCall(BintrayUploadTask.groovy:176)
    	at com.jfrog.bintray.gradle.BintrayUploadTask.bintrayUpload(BintrayUploadTask.groovy:172)
    	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
    	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:228)
    	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
    	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
    	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
    	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
    	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
    	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
    	... 68 more

jcgay/gradle-notifier