Added task to download public suffix list

pull/205/head
M66B 3 years ago
parent 3df78aa1e5
commit 43bf2c784b

@ -1,6 +1,7 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
apply plugin: 'com.bugsnag.android.gradle' apply plugin: 'com.bugsnag.android.gradle'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
apply plugin: 'de.undercouch.download'
def getVersionCode = { -> return 1710 } def getVersionCode = { -> return 1710 }
def getReleaseName = { -> return "\"Wellnhoferia\"" } def getReleaseName = { -> return "\"Wellnhoferia\"" }
@ -233,6 +234,12 @@ task copyMarkdown(type: Copy) {
} }
preBuild.dependsOn copyMarkdown 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 { repositories {
google() google()
mavenCentral() mavenCentral()

Loading…
Cancel
Save