melix / micronaut-license-report

An aggregating project to generate a license report
Apache License 2.0
1 stars 2 forks source link

Need to always change L77 of build.gradle.kts to generate licenses for other than mn-core modules #25

Open MartinBalin opened 4 months ago

MartinBalin commented 4 months ago

This issue is there from the beginning, reporting now... I've modified build.gradle.kts to include only 2 modules:

listOf(
             "micronaut-core@v4.4.1",
            "micronaut-security@v4.7.0"
)

I left line 77 (77 is middle one) intact so it says:

).filter {
      it.contains("micronaut-core")
    }.map {

When I run the report it builds only core then exits with no error. Modify the line to be it.contains("micronaut") run again and it builds also licenses for security. Is there any reason for this? otherwise should it be fixed.

melix commented 4 months ago

Is there any reason for this?

Sure. The idea was to have the full list of modules on top, then use the filter part to select these for which you care for a a particular run. Otherwise you end up having to comment out many. But since you're basically the only one using this now, feel free to do whatever suits you most.