ultraq / thymeleaf-layout-dialect

A dialect for Thymeleaf that lets you build layouts and reusable templates in order to improve code reuse

Home Page:https://ultraq.github.io/thymeleaf-layout-dialect/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use new Gradle dependency configurations while generating the correct Maven pom

ultraq opened this issue · comments

In #208, I learned that using Gradle's implementation dependency configuration, meant as the replacement for compile (which is now deprecated), generates the wrong kind of POM file needed for Maven, preventing a project that depends on the layout dialect to fail to compile.

Compare:

There must be a way to be able to use the new configuration while generating the right kind of POM. In my brief look at the subject while fixing #208, the api configuration from the java-library plugin might be the way to go? See:

Yup, that seems to do it. Fixed in 6b51020