Skip to content
Advertisement

No such property: count for class: com.github.jengelman.gradle.plugins.shadow.transformers.ServiceFileTransformer

Creating a new application with the latest version of Micronaut using Intellj throws an exception during the build process.

JavaScript

gradle-wrapper.properties

JavaScript

build.gradle

JavaScript

Advertisement

Answer

You need to upgrade to Shadow 7.0.0.

build.gradle:

JavaScript

This issue has been fixed with PR #655. The root cause is a change to Groovy itself (Jira: GROOVY-9292, GitHub: PR #1050), details in the linked PR.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement