Project

General

Profile

Actions

Task #9771

closed

fix 'publishing' block behaviour for Gradle 4.10.3

Added by Sergey Smolov over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
07/25/2019
Due date:
% Done:

100%

Estimated time:
Detected in build:
master
Published in build:
0.1.2-beta-190909

Description

Now Gradle 4.10.3 (as last release of Gradle 4.x) is in use at wrapper. Here is warning that appears when running the "./gradlew clean assemble --warning-mode all --stacktrace" command.

As part of making the publishing plugins stable, the 'deferred configurable' behavior of the 'publishing {}' block has been deprecated. In Gradle 5.0 the 'enableFeaturePreview('STABLE_PUBLISHING')' flag will be removed and the new behavior will become the default. Please add 'enableFeaturePreview('STABLE_PUBLISHING')' to your settings file and do a test run by publishing to a local repository. If all artifacts are published as expected, there is nothing else to do. If the published artifacts change unexpectedly, please see the migration guide for more details: https://docs.gradle.org/4.10.3/userguide/publishing_maven.html#publishing_maven:deferred_configuration.
at org.gradle.api.publish.plugins.PublishingPlugin.determineExtensionClass(PublishingPlugin.java:92)
...

Actions

Also available in: Atom PDF