Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Fix fatal gradle 7 compile error. #551

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jameshilliard
Copy link
Contributor

Fixes:

Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'compile' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.
        at org.gradle.internal.metaobject.AbstractDynamicObject.getMissingProperty(AbstractDynamicObject.java:85)
        at org.gradle.internal.metaobject.AbstractDynamicObject.getProperty(AbstractDynamicObject.java:62)
        at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer_Decorated.getProperty(Unknown Source)
        at com.devsoap.plugin.tasks.CompileWidgetsetTask$_closure4.doCall(CompileWidgetsetTask.groovy:228)

This issue appears to prevent the plugin from being used with gradle 7 which appears will be required for java 16 support.

Fixes:
Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'compile' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.
        at org.gradle.internal.metaobject.AbstractDynamicObject.getMissingProperty(AbstractDynamicObject.java:85)
        at org.gradle.internal.metaobject.AbstractDynamicObject.getProperty(AbstractDynamicObject.java:62)
        at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer_Decorated.getProperty(Unknown Source)
        at com.devsoap.plugin.tasks.CompileWidgetsetTask$_closure4.doCall(CompileWidgetsetTask.groovy:228)
@jameshilliard
Copy link
Contributor Author

FYI this failure appears to be due to the gradle version being too old, so i think #546 is probably also needed for tests to pass.

@jameshilliard
Copy link
Contributor Author

@johndevs Could you take a look at this? It would be good to have this fixed so that jdk16/gradle7 upgrades aren't blocked for projects that depend on this plugin.

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

Successfully merging this pull request may close these issues.

None yet

1 participant