Skip to content

Commit

Permalink
Removed several non-updating rule providers
Browse files Browse the repository at this point in the history
  • Loading branch information
PeratX committed Dec 18, 2017
1 parent 0be346c commit 4bd5434
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions app/src/main/java/org/itxtech/daedalus/Daedalus.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,13 @@ public void uncaughtException(Thread t, Throwable e) {
//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[]{
Expand Down

0 comments on commit 4bd5434

Please sign in to comment.