Open konstantinosraptis91 opened 5 years ago
Any updates on this ??
The configuration is applied per sourceSet
, such as main
and test
. Gradle files are not part of these sourceSets thus they are never updated. As a temporary workaround you'll have to define a custom task of type LicenseCheck
that can be applied to Gradle files.
I have created a multi-module project and I want to apply a common license (.txt file) to every java class and every build.gradle file (root & submodules). The weird issue here is that license been applied successfully to all java classes but not in build.gradle files. Is there any limitations with .gradle files? I thought that the default plugin behaviour should do that without any special configuration.
My root's project build.gradle file configuration looks like this:
gradle version: 5.3