Skip to content

Gradle plugin regression with 4.7.0 #160

@mmindenhall

Description

@mmindenhall

The issue I'm seeing is pretty much identical to GAP-257.

I'm using the following dependency for the plugin:

        classpath(group: 'org.jfrog.buildinfo', name: 'build-info-extractor-gradle', version: '4.+')

We saw this error when version 4.7.0 was released. When I replace '4.+' with '4.6.2', everything works as before. No other project dependencies were changed or updated.

The exception stack trace shows it happens within the from components.java line in the block below.

    publishing {
        publications {
            mavenJava(MavenPublication) {
                from components.java
            }
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions