Added task to download public suffix list

This commit is contained in:
M66B 2021-09-03 10:34:54 +02:00
parent 3df78aa1e5
commit 43bf2c784b
1 changed files with 7 additions and 0 deletions

View File

@ -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()