licensee
licensee copied to clipboard
Add ignoreDependenciesByRegex
Fixes https://github.com/cashapp/licensee/issues/49.
What's done
- Implement the thing.
- Fix running tests on Windows by checking golden text files with LF line endings.
violationsIgnored[...]
andviolationsLogged[...]
remain unfixed. -
installArchives
publishes files under${projectDir}/build
where tests expect them, instead ofbuildDir
which, in my case, resides decoupled on a RAM disk.
Any idea how to prevent jitpack from trying to include test maven repos?
https://jitpack.io/com/github/consp1racy/licensee/ep~regex-ignore-1.4.0-gd38f8aa-5/build.log
Thanks for the PR. I'll review it next week.
Hello @JakeWharton any update about this PR ? As I see, it is not yet merged ..
Any update on this feature?
I'll have to split it into three separate PRs as outlined above. Then I'll have to resolve the conflicts
Gradle 8.1 has this for repository content descriptors, which would fit my needs.
/**
* Declares that an entire group and its subgroups should be searched for in this repository.
*
* <p>
* A subgroup is a group that starts with the given prefix and has a dot immediately after the prefix.
* For example, if the prefix is {@code org.gradle}, then {@code org.gradle} is matched as a group,
* and {@code org.gradle.foo} and {@code org.gradle.foo.bar} are matched as subgroups. {@code org.gradlefoo}
* is not matched as a subgroup.
* </p>
*
* @param groupPrefix the group prefix to include
* @since 8.1
*/
@Incubating
void includeGroupAndSubgroups(String groupPrefix);
This would be easier than regex.