-
Notifications
You must be signed in to change notification settings - Fork 782
Safer dependencies #4670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safer dependencies #4670
Changes from all commits
db60a2f
101f322
934d325
45ee39f
abfaa03
2b6618a
ced159b
6162509
3604b1c
c32c0f8
f69f303
29837d4
0df11fc
b1f7800
1267468
01cc7b7
c514a3b
45ff069
a71f241
7c2ed46
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add explicit dependency location, regarding the several maven repository. Also update some libraries (flexbox and alerter), and do some cleanup. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
ext.groups = [ | ||
jitpack : [ | ||
regex: [ | ||
], | ||
group: [ | ||
'com.github.Armen101', | ||
'com.github.BillCarsonFr', | ||
'com.github.chrisbanes', | ||
'com.github.hyuwah', | ||
'com.github.jetradarmobile', | ||
'com.github.tapadoo', | ||
'com.github.vector-im', | ||
'com.github.yalantis', | ||
'com.github.Zhuinden', | ||
] | ||
], | ||
olm : [ | ||
regex: [ | ||
], | ||
group: [ | ||
'org.matrix.android', | ||
] | ||
], | ||
jitsi : [ | ||
regex: [ | ||
], | ||
group: [ | ||
'com.facebook.react', | ||
'org.jitsi.react', | ||
'org.webkit', | ||
] | ||
], | ||
google : [ | ||
regex: [ | ||
'androidx\\..*', | ||
'com\\.android\\.tools\\..*', | ||
'com\\.google\\.android\\..*', | ||
], | ||
group: [ | ||
'com.google.firebase', | ||
'com.android', | ||
'com.android.tools', | ||
] | ||
], | ||
mavenCentral: [ | ||
regex: [ | ||
], | ||
group: [ | ||
'com.adevinta.android', | ||
'com.airbnb.android', | ||
'com.almworks.sqlite4java', | ||
'com.arthenica', | ||
'com.atlassian.commonmark', | ||
'com.atlassian.pom', | ||
'com.beust', | ||
'com.davemorrissey.labs', | ||
'com.dropbox.core', | ||
'com.facebook.fresco', | ||
'com.facebook.infer.annotation', | ||
'com.facebook.soloader', | ||
'com.facebook.stetho', | ||
'com.fasterxml', | ||
'com.fasterxml.jackson', | ||
'com.fasterxml.jackson.core', | ||
'com.gabrielittner.threetenbp', | ||
'com.getkeepsafe.relinker', | ||
'com.github.bumptech.glide', | ||
'com.github.filippudak', | ||
'com.github.filippudak.progresspieview', | ||
'com.github.javaparser', | ||
'com.github.piasy', | ||
'com.github.shyiko.klob', | ||
'com.google', | ||
'com.google.auto.service', | ||
'com.google.auto.value', | ||
'com.google.code.findbugs', | ||
'com.google.code.gson', | ||
'com.google.dagger', | ||
'com.google.devtools.ksp', | ||
'com.google.errorprone', | ||
'com.google.googlejavaformat', | ||
'com.google.guava', | ||
'com.google.j2objc', | ||
'com.google.jimfs', | ||
'com.google.protobuf', | ||
'com.google.zxing', | ||
'com.googlecode.htmlcompressor', | ||
'com.googlecode.json-simple', | ||
'com.googlecode.libphonenumber', | ||
'com.ibm.icu', | ||
'com.jakewharton.android.repackaged', | ||
'com.jakewharton.timber', | ||
'com.linkedin.dexmaker', | ||
'com.nulab-inc', | ||
'com.otaliastudios.opengl', | ||
'com.parse.bolts', | ||
'com.pinterest', | ||
'com.pinterest.ktlint', | ||
'com.squareup', | ||
'com.squareup.duktape', | ||
'com.squareup.moshi', | ||
'com.squareup.okhttp3', | ||
'com.squareup.okio', | ||
'com.squareup.retrofit2', | ||
'com.sun.activation', | ||
'com.sun.istack', | ||
'com.sun.xml.bind', | ||
'com.sun.xml.bind.mvn', | ||
'com.sun.xml.fastinfoset', | ||
'com.thoughtworks.qdox', | ||
'com.vanniktech', | ||
'commons-cli', | ||
'commons-codec', | ||
'commons-io', | ||
'commons-logging', | ||
'info.picocli', | ||
'io.arrow-kt', | ||
'io.github.detekt.sarif4k', | ||
'io.github.reactivecircus.flowbinding', | ||
'io.jsonwebtoken', | ||
'io.kindedj', | ||
'io.mockk', | ||
'io.noties.markwon', | ||
'io.reactivex.rxjava2', | ||
'io.realm', | ||
'it.unimi.dsi', | ||
'jakarta.activation', | ||
'jakarta.xml.bind', | ||
'javax.annotation', | ||
'javax.inject', | ||
'jline', | ||
'jp.wasabeef', | ||
'junit', | ||
'me.leolin', | ||
'me.saket', | ||
'net.bytebuddy', | ||
'net.java', | ||
'net.java.dev.jna', | ||
'net.lachlanmckee', | ||
'net.ltgt.gradle.incap', | ||
'net.sf.jopt-simple', | ||
'net.sf.kxml', | ||
'nl.dionsegijn', | ||
'org.amshove.kluent', | ||
'org.apache', | ||
'org.apache.ant', | ||
'org.apache.commons', | ||
'org.apache.httpcomponents', | ||
'org.apache.sanselan', | ||
'org.bouncycastle', | ||
'org.checkerframework', | ||
'org.codehaus', | ||
'org.codehaus.groovy', | ||
'org.codehaus.mojo', | ||
'org.eclipse.ee4j', | ||
'org.ec4j.core', | ||
'org.glassfish.jaxb', | ||
'org.hamcrest', | ||
'org.jetbrains', | ||
'org.jetbrains.intellij.deps', | ||
'org.jetbrains.kotlin', | ||
'org.jetbrains.kotlinx', | ||
'org.jsoup', | ||
'org.junit', | ||
'org.junit.jupiter', | ||
'org.junit.platform', | ||
'org.jvnet.staxex', | ||
'org.mockito', | ||
'org.mongodb', | ||
'org.objenesis', | ||
'org.opentest4j', | ||
'org.ow2', | ||
'org.ow2.asm', | ||
'org.ow2.asm', | ||
'org.reactivestreams', | ||
'org.robolectric', | ||
'org.slf4j', | ||
'org.sonatype.oss', | ||
'org.testng', | ||
'org.threeten', | ||
'xerces', | ||
'xml-apis', | ||
] | ||
], | ||
jcenter : [ | ||
regex: [ | ||
], | ||
group: [ | ||
'com.amulyakhare', | ||
'com.otaliastudios', | ||
'com.yqritc', | ||
// https://github.com./cmelchior/realmfieldnameshelper/issues/42 | ||
'dk.ilios', | ||
'im.dlg', | ||
'me.dm7.barcodescanner', | ||
'me.gujun.android', | ||
] | ||
] | ||
] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -317,11 +317,6 @@ android { | |
} | ||
} | ||
|
||
configurations { | ||
// videocache includes a sl4j logger which causes mockk to attempt to call the static android Log | ||
testImplementation.exclude group: 'org.slf4j', module: 'slf4j-android' | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As I removed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if |
||
|
||
dependencies { | ||
|
||
implementation project(":matrix-sdk-android") | ||
|
@@ -398,7 +393,7 @@ dependencies { | |
implementation libs.markwon.html | ||
implementation 'com.googlecode.htmlcompressor:htmlcompressor:1.5.2' | ||
implementation 'me.saket:better-link-movement-method:2.2.0' | ||
implementation 'com.google.android:flexbox:2.0.1' | ||
implementation 'com.google.android.flexbox:flexbox:3.0.0' | ||
implementation libs.androidx.autoFill | ||
implementation 'jp.wasabeef:glide-transformations:4.3.0' | ||
implementation 'com.github.vector-im:PFLockScreen-Android:1.0.0-beta12' | ||
|
@@ -415,7 +410,7 @@ dependencies { | |
implementation 'com.arthenica:ffmpeg-kit-audio:4.5.LTS' | ||
|
||
// Alerter | ||
implementation 'com.tapadoo.android:alerter:7.0.1' | ||
implementation 'com.github.tapadoo:alerter:7.2.4' | ||
|
||
implementation 'com.otaliastudios:autocomplete:1.1.0' | ||
|
||
|
@@ -433,7 +428,6 @@ dependencies { | |
|
||
implementation libs.github.glide | ||
kapt libs.github.glideCompiler | ||
implementation 'com.danikula:videocache:2.7.1' | ||
implementation 'com.github.yalantis:ucrop:2.2.7' | ||
|
||
// Badge for compatibility | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure why it has been added at first place, but it seems not necessary anymore 🤞