mirror of https://github.com/M66B/FairEmail.git
Added task to download public suffix list
This commit is contained in:
parent
3df78aa1e5
commit
43bf2c784b
|
@ -1,6 +1,7 @@
|
|||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'com.bugsnag.android.gradle'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'de.undercouch.download'
|
||||
|
||||
def getVersionCode = { -> return 1710 }
|
||||
def getReleaseName = { -> return "\"Wellnhoferia\"" }
|
||||
|
@ -233,6 +234,12 @@ task copyMarkdown(type: Copy) {
|
|||
}
|
||||
preBuild.dependsOn copyMarkdown
|
||||
|
||||
task downloadPublicSuffixList(type: Download) {
|
||||
src "https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat"
|
||||
dest "src/main/assets"
|
||||
overwrite true
|
||||
}
|
||||
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
|
|
Loading…
Reference in New Issue