Add JitPack repo and update libsuperuser dependency (#2001)

## Description
Back in 2021 [JFrog
announced](https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/)
that they are deprecating the JCenter repository. It's still read-only
but it shouldn't be depended upon.

I was trying to remove it in the other PR:
https://github.com/syncthing/syncthing-android/pull/2000, but then I
found out a single dependency still needs it:
[libsuperuser](https://github.com/Chainfire/libsuperuser).
The most "up to date" version [can be found in
JitPack](https://jitpack.io/#Chainfire/libsuperuser).
I had to update the version manually as dependabot would never pick it
up until JitPack is added to the list of repositories.

## Changes
* add the JitPack as a new repository to the project
* update the `libsuperuser` dependency to version `1.1.1`
This commit is contained in:
Adam Szewera 2023-11-30 21:44:35 +01:00 committed by GitHub
parent 52bd276ca9
commit 856495ab0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ plugins {
} }
dependencies { dependencies {
implementation 'eu.chainfire:libsuperuser:1.1.0.202004101746' implementation 'eu.chainfire:libsuperuser:1.1.1'
implementation 'com.google.android.material:material:1.8.0' implementation 'com.google.android.material:material:1.8.0'
implementation 'com.google.code.gson:gson:2.10.1' implementation 'com.google.code.gson:gson:2.10.1'
implementation 'org.mindrot:jbcrypt:0.4' implementation 'org.mindrot:jbcrypt:0.4'

View File

@ -23,6 +23,7 @@ allprojects {
repositories { repositories {
google() google()
jcenter() jcenter()
maven { url = "https://jitpack.io" }
} }
} }