From 1071e0e7498ca4c1d82cb655e5e59040ea1beb04 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 29 Jul 2021 21:23:59 +0530 Subject: Revamp PSL updates (#1475) * build: import Mozilla's Gradle plugin for PSL updates * autofill-parser: add tests for PublicSuffixListLoader * autofill-parser: regenerate publicsuffixes list * github: switch to Gradle plugin for PSL updates --- autofill-parser/build.gradle.kts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'autofill-parser/build.gradle.kts') diff --git a/autofill-parser/build.gradle.kts b/autofill-parser/build.gradle.kts index f22081f3..be71acf0 100644 --- a/autofill-parser/build.gradle.kts +++ b/autofill-parser/build.gradle.kts @@ -8,9 +8,13 @@ plugins { id("com.vanniktech.maven.publish") kotlin("android") `aps-plugin` + `psl-plugin` } -android { defaultConfig { consumerProguardFiles("consumer-rules.pro") } } +android { + defaultConfig { consumerProguardFiles("consumer-rules.pro") } + sourceSets { getByName("test") { resources.srcDir("src/main/assets") } } +} dependencies { implementation(libs.androidx.annotation) @@ -18,4 +22,5 @@ dependencies { implementation(libs.kotlin.coroutines.android) implementation(libs.kotlin.coroutines.core) implementation(libs.thirdparty.timberkt) + testImplementation(libs.bundles.testDependencies) } -- cgit v1.2.3