gradle-java-flavours icon indicating copy to clipboard operation
gradle-java-flavours copied to clipboard

Plugin not working with gradle 5.1.1

Open ogrebgr opened this issue 5 years ago • 2 comments

When using gradle 5.1.1 the build gives an error in the plugin:

Could not get unknown property 'classesDir' for mock local test classes of type org.gradle.api.internal.tasks.DefaultSourceSetOutput.

It seems classesDir is deprecated and removed and SourceSetOutput.getClassesDir() should be used instead.

ogrebgr avatar Apr 18 '19 08:04 ogrebgr

This plugin would simplify adding a support for Spock 2 in micronaut-test.

@uklance Do you have plans to fix it and release the new version (probably with some own dependencies update) in the foreseeable future?

There are two forks having it implemented: https://github.com/turnsk/gradle-java-flavours/ https://github.com/makarthikeyan/gradle-java-flavours/ but they seem to have it done on their own purpose and I cannot use unreleased plugin in micronaut-test.

szpak avatar Jul 01 '20 13:07 szpak

Hi @uklance any change you update this plugin with the last gradle version?

vicpinm avatar Jun 15 '21 14:06 vicpinm