Skip to content

Instantly share code, notes, and snippets.

View Griefed's full-sized avatar
:shipit:
Playing with Kotlin, Docker, VueJS/Quasar 🧶

Griefed Griefed

:shipit:
Playing with Kotlin, Docker, VueJS/Quasar 🧶
View GitHub Profile
@Griefed
Griefed / ExcludeTransitiveDependenciesFilterMultiProject.kt
Last active December 26, 2022 17:32 — forked from maxs-rose/ExcludeTransitiveDependenciesFilterMultiProject.groovy
Properly generate only top level dependencies for multi project gradle builds when using https://github.com/jk1/Gradle-License-Report
import com.github.jk1.license.ModuleData
import com.github.jk1.license.ProjectData
import com.github.jk1.license.filter.DependencyFilter
import org.gradle.api.artifacts.ConfigurationContainer
import org.gradle.api.artifacts.ResolvedDependency
import java.util.stream.Collectors
import java.util.stream.Stream
/**
* Special thanks to <a href="https://github.com/maxs-rose">maxs-rose</a> for this filter, found via a comment of them