-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Context Including a task to check dependency version updates. https://github.com/ben-manes/gradle-versions-plugin Usage: ./gradlew dependencyUpdates -Drevision=release ## Code Generated report: ``` ------------------------------------------------------------ : Project Dependency Updates (report to plain text file) ------------------------------------------------------------ The following dependencies are using the latest release version: - androidx.appcompat:appcompat:1.2.0 - androidx.cardview:cardview:1.0.0 - androidx.coordinatorlayout:coordinatorlayout:1.1.0 - androidx.databinding:viewbinding:4.1.1 - androidx.fragment:fragment-ktx:1.2.5 - androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0 - androidx.recyclerview:recyclerview:1.1.0 - com.android.tools.build:gradle:4.1.1 - com.github.ben-manes:gradle-versions-plugin:0.36.0 - com.jakewharton.timber:timber:4.7.1 - com.squareup.retrofit2:converter-moshi:2.9.0 - com.squareup.retrofit2:retrofit:2.9.0 - org.jetbrains.kotlin:kotlin-android-extensions:1.4.21 - org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.4.21 - org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.21 - org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.4.21 The following dependencies have later release versions: - androidx.constraintlayout:constraintlayout [1.1.3 -> 2.0.4] http://tools.android.com - androidx.core:core-ktx [1.3.1 -> 1.3.2] https://developer.android.com/jetpack/androidx - androidx.swiperefreshlayout:swiperefreshlayout [1.0.0 -> 1.1.0] https://developer.android.com/jetpack/androidx - com.amplitude:android-sdk [2.26.1 -> 2.30.0] https://github.com/amplitude/Amplitude-Android - com.facebook.fresco:fresco [2.2.0 -> 2.3.0] https://github.com/facebook/fresco - com.google.android.material:material [1.1.0 -> 1.2.1] https://github.com/material-components/material-components-android - com.pinterest:ktlint [0.37.2 -> 0.40.0] https://github.com/pinterest/ktlint - com.squareup.leakcanary:leakcanary-android [2.4 -> 2.5] http://github.com/square/leakcanary/ - com.squareup.moshi:moshi [1.9.3 -> 1.11.0] https://github.com/square/moshi/ - com.squareup.moshi:moshi-kotlin-codegen [1.9.3 -> 1.11.0] https://github.com/square/moshi/ - io.mockk:mockk [1.9.3 -> 1.10.3] http://mockk.io - io.sentry:sentry-android [2.1.0 -> 3.2.0] https://github.com/getsentry/sentry-java - junit:junit [4.12 -> 4.13.1] http://junit.org - org.jetbrains.kotlinx:kotlinx-coroutines-core [1.3.9 -> 1.4.2] https://github.com/Kotlin/kotlinx.coroutines - org.koin:koin-android [2.1.6 -> 2.2.2] - org.koin:koin-androidx-fragment [2.1.6 -> 2.2.2] - org.koin:koin-androidx-scope [2.1.6 -> 2.2.2] - org.koin:koin-androidx-viewmodel [2.1.6 -> 2.2.2] Failed to determine the latest version for the following dependencies (use --info for details): - org.jetbrains.kotlin:kotlin-android-extensions-runtime 1.4.21 - org.jetbrains.kotlin:kotlin-stdlib 1.4.21 - org.jetbrains.kotlin:kotlin-stdlib-jdk8 1.4.21 Gradle release-candidate updates: - Gradle: [6.5 -> 6.7.1 -> 6.8-rc-4] Generated report file build/dependencyUpdates/report.txt ```
- Loading branch information
Showing
16 changed files
with
49 additions
and
36 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...structure/monitoring/src/main/java/br/com/recipebook/monitoring/crashreport/Monitoring.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...structure/monitoring/src/main/java/br/com/recipebook/monitoring/crashreport/SentryTree.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
project-config/dependencies-checker/dependencies-checker.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
def isNonStable = { String version -> | ||
def stableKeyword = ['RELEASE', 'FINAL', 'GA'].any { it -> version.toUpperCase().contains(it) } | ||
def regex = /^[0-9,.v-]+(-r)?$/ | ||
return !stableKeyword && !(version ==~ regex) | ||
} | ||
|
||
tasks.named("dependencyUpdates").configure { | ||
// Reject all non stable versions | ||
rejectVersionIf { | ||
isNonStable(it.candidate.version) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters