aboutsummaryrefslogtreecommitdiff
path: root/autofill-parser/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-07-29 21:23:59 +0530
committerGitHub <noreply@github.com>2021-07-29 21:23:59 +0530
commit1071e0e7498ca4c1d82cb655e5e59040ea1beb04 (patch)
treeb6241a1c7cfd95beba7650f92874aa162f811cb3 /autofill-parser/build.gradle.kts
parent403bb383b5caa23bbb14f4e59e2727ae70ed2283 (diff)
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
Diffstat (limited to 'autofill-parser/build.gradle.kts')
-rw-r--r--autofill-parser/build.gradle.kts7
1 files changed, 6 insertions, 1 deletions
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)
}