Skip to content

Commit

Permalink
Update the public suffix DB (#8595)
Browse files Browse the repository at this point in the history
* Update the public suffix db
  • Loading branch information
yschimke authored Nov 27, 2024
1 parent 54b64fe commit 1e9f44e
Show file tree
Hide file tree
Showing 3 changed files with 4,571 additions and 3,055 deletions.
4 changes: 3 additions & 1 deletion okhttp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ val copyKotlinTemplates = tasks.register<Copy>("copyKotlinTemplates") {
from("src/main/kotlinTemplates")
into("$buildDir/generated/sources/kotlinTemplates")

// Tag as an input to regenerate after an update
inputs.file("src/test/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz")

filteringCharset = Charsets.UTF_8.toString()

// TODO replace with KotlinPoet?
val databaseGz = project.file("src/test/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz")
val listBytes = databaseGz.readBytes().toByteStringExpression()

Expand Down
Binary file not shown.
Loading

0 comments on commit 1e9f44e

Please sign in to comment.