Skip to content

Commit

Permalink
[bintray] deprecate plugin. Fixes #447
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Feb 5, 2021
1 parent 14c5e12 commit 79f6e2c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ applies:: `<<_org_kordamp_gradle_base,org.kordamp.gradle.base>>`, +
`link:https://github.com/bintray/gradle-bintray-plugin[com.jfrog.bintray]`
applied by:: `<<_org_kordamp_gradle_project,org.kordamp.gradle.project>>`

WARNING: This plugin has been deprecated without replacement. Bintray is shutting down
link:https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/[]

Configures artifact publications using Bintray. Relies on the publication configured by the
`<<_org_kordamp_gradle_publishing,org.kordamp.gradle.publishing>>` plugin. The name of the publication
matches `"main"`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,15 @@ class ProjectConfigurationExtension {
ConfigureUtil.configure(action, bom)
}

@Deprecated
void bintray(Action<? super Bintray> action) {
println("The method config.bintray is deprecated and will be removed in the future.")
action.execute(bintray)
}

@Deprecated
void bintray(@DelegatesTo(strategy = Closure.DELEGATE_FIRST, value = Bintray) Closure<Void> action) {
println("The method config.bintray is deprecated and will be removed in the future.")
ConfigureUtil.configure(action, bintray)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import static org.kordamp.gradle.util.StringUtils.isBlank
* @since 0.8.0
*/
@CompileStatic
@Deprecated
class Bintray extends AbstractFeature {
static final String PLUGIN_ID = 'org.kordamp.gradle.bintray'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import static org.kordamp.gradle.util.StringUtils.isNotBlank
* @since 0.2.0
*/
@CompileStatic
@Deprecated
class BintrayPlugin extends AbstractKordampPlugin {
Project project

Expand Down

0 comments on commit 79f6e2c

Please sign in to comment.