diff --git a/app/build.gradle b/app/build.gradle index 8b273b1650..0a7bba9a30 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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()