mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 19:59:05 +01:00
Tell animal sniffer gradle plugin to ignore java.util.Objects
This commit is contained in:
@@ -31,6 +31,14 @@ dependencies {
|
|||||||
signature 'org.codehaus.mojo.signature:java16:1.1@signature'
|
signature 'org.codehaus.mojo.signature:java16:1.1@signature'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
animalsniffer {
|
||||||
|
// Allow requireNonNull: Android desugaring rewrites it (so it's safe for us to use),
|
||||||
|
// and it gets used when passing method references instead of lambdas with Java 11.
|
||||||
|
// Note that this line allows *all* methods from java.util.Objects.
|
||||||
|
// That's the best that we can do with the configuration options that Animal Sniffer offers.
|
||||||
|
ignore 'java.util.Objects'
|
||||||
|
}
|
||||||
|
|
||||||
// needed to make test output available to bramble-java
|
// needed to make test output available to bramble-java
|
||||||
configurations {
|
configurations {
|
||||||
testOutput.extendsFrom(testCompile)
|
testOutput.extendsFrom(testCompile)
|
||||||
|
|||||||
Reference in New Issue
Block a user