Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning for property jib.container.expandClasspathDependencies #2930

Closed
juergenzimmermann opened this issue Dec 8, 2020 · 3 comments

Comments

@juergenzimmermann
Copy link

Environment:

  • Jib version: 2.7.0
  • Build tool: Gradle 6.8-rc-1
  • OS: Windows 10 Enterprise 2004

Description of the issue:
When I invoke gradle jibDockerBuild I get this deprecation warning:

Property 'jib.container.expandClasspathDependencies' @Input properties with primitive type 'boolean' cannot be @Optional. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.8-rc-1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.

Expected behavior:
No warning.

Steps to reproduce:
Just a simple gradle project with the config below.

jib-gradle-plugin Configuration:

jib {
    from {
        image = "gcr.io/distroless/java-debian10:11"
    }
    to {
        image = project.name
    }
}

Log output: see above

@loosebazooka
Copy link
Member

this should be fixed

@chanseokoh
Copy link
Member

@juergenzimmermann 2.7.1 is released with the fix.

@loosebazooka loosebazooka modified the milestones: v2.8.0, v2.7.1 Jan 7, 2021
@juergenzimmermann
Copy link
Author

@chanseokoh Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants