Skip to content

Commit

Permalink
enable built-in gradle dependency verification
Browse files Browse the repository at this point in the history
This fully replaces gradle-witness and goes far beyond what it offered. As
far as I can tell, this actually will verify every single artifact that
gradle downloads and uses.

This was generated by first copying the existing one in fdroidclient,
then running two passes to get both the PGP and the SHA256 info:

 ./gradlew --write-verification-metadata pgp,sha256 build --export-keys
 ./gradlew --write-verification-metadata sha256 build

Thanks to  @vlsi who made me aware of this, and helped make it possible.
fdroid/fdroidclient!837
  • Loading branch information
eighthave committed Apr 29, 2021
1 parent c3cd70d commit e5d1cc6
Show file tree
Hide file tree
Showing 3 changed files with 3,337 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

buildscript {
repositories {
maven { url 'file:///usr/share/maven-repo' }
mavenCentral()
google()
}
Expand All @@ -13,7 +12,6 @@ buildscript {

allprojects {
repositories {
maven { url 'file:///usr/share/maven-repo' }
mavenCentral()
google()
}
Expand Down
Binary file added gradle/verification-keyring.gpg
Binary file not shown.
Loading

1 comment on commit e5d1cc6

@vlsi
Copy link

@vlsi vlsi commented on e5d1cc6 Apr 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.