Removed several non-updating rule providers

This commit is contained in:
PeratX 2017-12-18 19:37:30 +08:00
parent 0be346cfc1
commit 4bd543430f
4 changed files with 2 additions and 13 deletions

View File

@ -5,7 +5,7 @@ android:
components:
- tools
- platform-tools
- build-tools-26.0.2
- build-tools-26.0.3
- android-26
- extra-android-support
- extra-google-m2repository

View File

@ -53,10 +53,7 @@ DNS Server Providers
Rule Providers
-------------
* __[hosts](https://github.com/googlehosts/hosts)__ by *[googlehosts](https://github.com/googlehosts)* - [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh)
* __[hosts](https://github.com/sy618/hosts)__ by *[sy618](https://github.com/sy618)* - [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh)
* __[connector](https://git.oschina.net/lengers/connector)__ by *[lankes](https://git.oschina.net/lengers)* - [GPLv3](https://git.oschina.net/lengers/connector/blob/master/LICENSE)
* __[yhosts](https://github.com/vokins/yhosts)__ by *[vokins](https://github.com/vokins)* - [CC BY-NC-ND 4.0](https://creativecommons.org/licenses/by-nc-nd/4.0/)
* __[2017hosts](https://github.com/wangchunming/2017hosts)__ by *[wangchunming](https://github.com/wangchunming)* - None
Requirements
-------------

View File

@ -4,7 +4,7 @@ def gitCommit = 'git rev-parse --short HEAD'.execute([], project.rootDir).text.t
android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
buildToolsVersion "26.0.3"
defaultConfig {
applicationId "org.itxtech.daedalus"
minSdkVersion 15

View File

@ -63,21 +63,13 @@ public class Daedalus extends Application {
//Build-in Hosts rule providers
add(new Rule("googlehosts/hosts", "googlehosts.hosts", Rule.TYPE_HOSTS,
"https://raw.githubusercontent.com/googlehosts/hosts/master/hosts-files/hosts", false));
add(new Rule("sy618/hosts", "sy618.hosts", Rule.TYPE_HOSTS,
"https://raw.githubusercontent.com/sy618/hosts/master/FQ", false));
add(new Rule("vokins/yhosts", "vokins.hosts", Rule.TYPE_HOSTS,
"https://raw.githubusercontent.com/vokins/yhosts/master/hosts", false));
add(new Rule("lengers/connector", "connector.hosts", Rule.TYPE_HOSTS,
"https://git.oschina.net/lengers/connector/raw/master/hosts", false));
add(new Rule("wangchunming/2017hosts", "2017.hosts", Rule.TYPE_HOSTS,
"https://raw.githubusercontent.com/wangchunming/2017hosts/master/hosts-pc", false));
add(new Rule("adaway", "adaway.hosts", Rule.TYPE_HOSTS,
"https://adaway.org/hosts.txt", false));
//Build-in DNSMasq rule providers
add(new Rule("vokins/yhosts/union", "union.dnsmasq", Rule.TYPE_DNAMASQ,
"https://raw.githubusercontent.com/vokins/yhosts/master/dnsmasq/union.conf", false));
add(new Rule("sy618/hosts/dnsfq", "dnsfq.dnsmasq", Rule.TYPE_DNAMASQ,
"https://raw.githubusercontent.com/sy618/hosts/master/dnsmasq/dnsfq", false));
}};
public static final String[] DEFAULT_TEST_DOMAINS = new String[]{