Files
fdroidclient/config/errorprone.gradle
Hans-Christoph Steiner 80a50dcfd4 vendor 'cc.mvdan.accesspoint:library:0.2.0' to remove jcenter entirely
Code was in https://github.com/mvdan/libaccesspoint

Note that this project is **abandoned** since its method doesn't work on Android
7.1 or later. Have a look at these newer alternatives that have been tested to
work on Android 8.0:

* https://github.com/shinilms/direct-net-share
* https://github.com/geekywoman/direct-net-share
* https://github.com/aegis1980/WifiHotSpot
2022-01-19 20:43:24 +01:00

37 lines
978 B
Groovy

buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.0.16"
}
}
apply plugin: "net.ltgt.errorprone"
tasks.withType(JavaCompile) {
options.compilerArgs += [
'-XepAllDisabledChecksAsWarnings',
'-XepExcludedPaths:.*/cc/mvdan/accesspoint/.*',
'-Xep:CatchFail:OFF',
'-Xep:ClassCanBeStatic:OFF',
'-Xep:DateFormatConstant:OFF',
'-Xep:DefaultCharset:OFF',
'-Xep:FormatString:OFF',
'-Xep:JavaLangClash:OFF',
'-Xep:MissingCasesInEnumSwitch:OFF',
'-Xep:MissingOverride:OFF',
'-Xep:NonAtomicVolatileUpdate:OFF',
'-Xep:OperatorPrecedence:OFF',
'-Xep:StringSplitter:OFF',
'-Xep:UnsynchronizedOverridesSynchronized:OFF',
]
}
configurations.errorprone {
resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.2.0'
}