mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-01-27 16:27:48 -05:00
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
37 lines
978 B
Groovy
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'
|
|
}
|