{"action":"closed","issue":{"url":"https://api.github.com/repos/gradle/gradle/issues/5360","repository_url":"https://api.github.com/repos/gradle/gradle","labels_url":"https://api.github.com/repos/gradle/gradle/issues/5360/labels{/name}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/5360/comments","events_url":"https://api.github.com/repos/gradle/gradle/issues/5360/events","html_url":"https://github.com/gradle/gradle/issues/5360","id":322057365,"number":5360,"title":"Show warning about stable publishing feature flag at most once per build","user":{"login":"adammurdoch","id":99316,"avatar_url":"https://avatars2.githubusercontent.com/u/99316?v=4","gravatar_id":"","url":"https://api.github.com/users/adammurdoch","html_url":"https://github.com/adammurdoch","followers_url":"https://api.github.com/users/adammurdoch/followers","following_url":"https://api.github.com/users/adammurdoch/following{/other_user}","gists_url":"https://api.github.com/users/adammurdoch/gists{/gist_id}","starred_url":"https://api.github.com/users/adammurdoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adammurdoch/subscriptions","organizations_url":"https://api.github.com/users/adammurdoch/orgs","repos_url":"https://api.github.com/users/adammurdoch/repos","events_url":"https://api.github.com/users/adammurdoch/events{/privacy}","received_events_url":"https://api.github.com/users/adammurdoch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-10T19:40:11Z","updated_at":"2018-05-10T22:52:27Z","closed_at":"2018-05-10T22:52:27Z","author_association":"OWNER","body":"The warning asking people to enable the feature flag for the new publishing { } block behaviour is shown many times per build. It should be shown no more than once. I think it would be better if this message were also controlled by the `--warning-mode` command-line option.\r\n\r\n### Expected Behavior\r\n\r\nShow the message once per build, and in the same way that deprecations are shown.\r\n\r\n### Current Behavior\r\n\r\nHere's an example:\r\n\r\n```\r\n> Configure project :\r\nAs part of making the publishing plugins stable, we are removing the 'deferred configurable' behavior of the 'publishing {}' block.\r\nWe don't want to silently break your build, so we need your help for the migration.\r\nPlease add 'enableFeaturePreview('STABLE_PUBLISHING')' to your settings file and do a test run by publishing to a local repository.\r\nIf all artifacts are published as expected, there is nothing else to do.\r\nIf the published artifacts change unexpectedly, please see the migration guide for more details: https://docs.gradle.org/4.8-20180510193406+0000/userguide/publishing_maven.html#publishing_maven:deferred_configuration\r\nGradle 5.0 will switch this flag on by default.\r\n\r\n> Configure project :ext\r\nAs part of making the publishing plugins stable, we are removing the 'deferred configurable' behavior of the 'publishing {}' block.\r\nWe don't want to silently break your build, so we need your help for the migration.\r\nPlease add 'enableFeaturePreview('STABLE_PUBLISHING')' to your settings file and do a test run by publishing to a local repository.\r\nIf all artifacts are published as expected, there is nothing else to do.\r\nIf the published artifacts change unexpectedly, please see the migration guide for more details: https://docs.gradle.org/4.8-20180510193406+0000/userguide/publishing_maven.html#publishing_maven:deferred_configuration\r\nGradle 5.0 will switch this flag on by default.\r\nAs part of making the publishing plugins stable, we are removing the 'deferred configurable' behavior of the 'publishing {}' block.\r\nWe don't want to silently break your build, so we need your help for the migration.\r\nPlease add 'enableFeaturePreview('STABLE_PUBLISHING')' to your settings file and do a test run by publishing to a local repository.\r\nIf all artifacts are published as expected, there is nothing else to do.\r\nIf the published artifacts change unexpectedly, please see the migration guide for more details: https://docs.gradle.org/4.8-20180510193406+0000/userguide/publishing_maven.html#publishing_maven:deferred_configuration\r\nGradle 5.0 will switch this flag on by default.\r\nAs part of making the publishing plugins stable, we are removing the 'deferred configurable' behavior of the 'publishing {}' block.\r\nWe don't want to silently break your build, so we need your help for the migration.\r\nPlease add 'enableFeaturePreview('STABLE_PUBLISHING')' to your settings file and do a test run by publishing to a local repository.\r\nIf all artifacts are published as expected, there is nothing else to do.\r\nIf the published artifacts change unexpectedly, please see the migration guide for more details: https://docs.gradle.org/4.8-20180510193406+0000/userguide/publishing_maven.html#publishing_maven:deferred_configuration\r\nGradle 5.0 will switch this flag on by default.\r\nAs part of making the publishing plugins stable, we are removing the 'deferred configurable' behavior of the 'publishing {}' block.\r\nWe don't want to silently break your build, so we need your help for the migration.\r\nPlease add 'enableFeaturePreview('STABLE_PUBLISHING')' to your settings file and do a test run by publishing to a local repository.\r\nIf all artifacts are published as expected, there is nothing else to do.\r\nIf the published artifacts change unexpectedly, please see the migration guide for more details: https://docs.gradle.org/4.8-20180510193406+0000/userguide/publishing_maven.html#publishing_maven:deferred_configuration\r\nGradle 5.0 will switch this flag on by default.\r\n\r\nand so on...\r\n```\r\n"}}
{"actor":{"display_login":"oehme"}}