unbroken-dome / gradle-testsets-plugin

A plugin for the Gradle build system that allows specifying test sets (like integration or acceptance tests).
MIT License
230 stars 50 forks source link

Gradle 7 support #114

Closed clemstoquart closed 3 years ago

clemstoquart commented 3 years ago

Hi,

Currently when running with Gradle 6 there is a deprecation warning that will turn into an error with Gradle 7 :

Internal API constructor DefaultPolymorphicDomainObjectContainer(Class<T>, Instantiator) has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use ObjectFactory.polymorphicDomainObjectContainer(Class<T>) instead. See https://docs.gradle.org/6.7.1/userguide/custom_gradle_types.html#extensiblepolymorphicdomainobjectcontainer for more details.

I'm aware that this change would make the plugin compatible only with Gradle 6.1+. IMHO users with older Gradle version can still use the current version until they can migrate to Gradle 6.1 or newer.

Gradle 7 release is probably not far and it would be nice to support it on day one.

clemstoquart commented 3 years ago

My bad this has already been fixed.