Skip to content

added plugin to help checking for dependency updates #303

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jun 12, 2022
Merged

added plugin to help checking for dependency updates #303

merged 1 commit into from
Jun 12, 2022

Conversation

suntrix
Copy link
Contributor

@suntrix suntrix commented May 14, 2022

No description provided.

@nbransby
Copy link
Member

Whats this do exactly?

@suntrix
Copy link
Contributor Author

suntrix commented May 16, 2022

This plugin is very handy when you'd want to check for any dependency updates within your Gradle project (more info: https://github.com/ben-manes/gradle-versions-plugin).

It will refresh your local Gradle state, so it would know if there are any updates (Intellij IDE will show you yellow prompts) & also generate a report that you could store in GitHub Action's artifact.

Running ./gradlew dependencyUpdates -Drevision=release
will produce something like:

...
> Task :dependencyUpdates

------------------------------------------------------------
: Project Dependency Updates (report to plain text file)
------------------------------------------------------------

The following dependencies are using the latest release version:
 - androidx.multidex:multidex-instrumentation:2.0.0
 - androidx.test:core:1.4.0
 - androidx.test:runner:1.4.0
 - androidx.test.ext:junit:1.1.3
 - com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.42.0
 - junit:junit:4.13.2

The following dependencies have later release versions:
 - com.adarshr:gradle-test-logger-plugin [2.1.1 -> 3.2.0]
 - com.android.tools.build:gradle [7.1.0 -> 7.2.0]
 - com.android.tools.utp:android-device-provider-ddmlib [30.1.0 -> 30.2.0]
     https://developer.android.com/studio/build
 - com.android.tools.utp:android-device-provider-gradle [30.1.0 -> 30.2.0]
     https://developer.android.com/studio/build
 - com.android.tools.utp:android-test-plugin-host-additional-test-output [30.1.0 -> 30.2.0]
     https://developer.android.com/studio/build
 - com.android.tools.utp:android-test-plugin-host-coverage [30.1.0 -> 30.2.0]
     https://developer.android.com/studio/build
 - com.android.tools.utp:android-test-plugin-host-device-info [30.1.0 -> 30.2.0]
     https://developer.android.com/studio/build
 - com.android.tools.utp:android-test-plugin-host-logcat [30.1.0 -> 30.2.0]
     https://developer.android.com/studio/build
 - com.android.tools.utp:android-test-plugin-host-retention [30.1.0 -> 30.2.0]
     https://developer.android.com/studio/build
 - com.android.tools.utp:android-test-plugin-result-listener-gradle [30.1.0 -> 30.2.0]
     https://developer.android.com/studio/build
 - com.google.firebase:firebase-bom [29.3.0 -> 30.0.1]
 - org.jacoco:org.jacoco.ant [0.8.3 -> 0.8.8]
     http://jacoco.org
 - org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable [1.6.10 -> 1.6.21]
     https://kotlinlang.org/
 - org.jetbrains.kotlin:kotlin-serialization [1.6.10 -> 1.6.21]
     https://kotlinlang.org/
 - org.jetbrains.kotlin:kotlin-serialization-unshaded [1.6.10 -> 1.6.21]
     https://kotlinlang.org/
 - org.jetbrains.kotlin:kotlin-test-annotations-common [1.6.10 -> 1.6.21]
     https://kotlinlang.org/
 - org.jetbrains.kotlin:kotlin-test-common [1.6.10 -> 1.6.21]
     https://kotlinlang.org/
 - org.jetbrains.kotlin:kotlin-test-js [1.6.10 -> 1.6.21]
     https://kotlinlang.org/
 - org.jetbrains.kotlin:kotlin-test-junit [1.6.10 -> 1.6.21]
     https://kotlinlang.org/
 - org.jetbrains.kotlin.multiplatform:org.jetbrains.kotlin.multiplatform.gradle.plugin [1.6.10 -> 1.6.21]
 - org.jetbrains.kotlin.plugin.serialization:org.jetbrains.kotlin.plugin.serialization.gradle.plugin [1.5.31 -> 1.6.21]
 - org.jetbrains.kotlin.plugin.serialization:org.jetbrains.kotlin.plugin.serialization.gradle.plugin [1.6.10 -> 1.6.21]
 - org.jetbrains.kotlinx:kotlinx-coroutines-core [1.6.0-native-mt -> 1.6.1]
     https://github.com/Kotlin/kotlinx.coroutines
 - org.jetbrains.kotlinx:kotlinx-coroutines-play-services [1.6.0-native-mt -> 1.6.1]
     https://github.com/Kotlin/kotlinx.coroutines
 - org.jetbrains.kotlinx:kotlinx-serialization-core [1.3.2 -> 1.3.3]
     https://github.com/Kotlin/kotlinx.serialization

Gradle release-candidate updates:
 - Gradle: [7.2 -> 7.4.2 -> 7.5-rc-1]

Generated report file build/dependency-reports/dependency-updates.txt

Generated report file build/dependency-reports/dependency-updates.html
...

@suntrix
Copy link
Contributor Author

suntrix commented May 22, 2022

@nbransby Any updates?

@nbransby nbransby merged commit d4e8510 into GitLiveApp:master Jun 12, 2022
@suntrix suntrix deleted the dependency-updates branch June 13, 2022 11:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants