louiscad
06/12/2021, 9:39 AMdave08
06/13/2021, 3:14 PMEmil Kantis
06/28/2021, 12:03 PMversion.spring.boot
):
version.org.springframework.boot..spring-boot-actuator=2.4.5
version.org.springframework.boot..spring-boot-starter-test=2.4.5
version.org.springframework.boot..spring-boot-starter-webflux=2.4.5
Emil Kantis
06/28/2021, 12:03 PMmain
locally, I get these 2 failures. Anyone know why?
RefreshVersionsUpgradeMigrationTest > test removal of migration call for Gradle Groovy DSL() FAILED
org.opentest4j.AssertionFailedError at RefreshVersionsUpgradeMigrationTest.kt:29
RefreshVersionsUpgradeMigrationTest > test removal of migration call for Gradle Kotlin DSL() FAILED
org.opentest4j.AssertionFailedError at RefreshVersionsUpgradeMigrationTest.kt:19
Colton Idle
06/29/2021, 2:31 PMdave08
07/05/2021, 11:52 AMEmil Butiri
07/11/2021, 8:28 AMrefreshVersions
task fails because of an HTTP 403. Can’t figure out which repo might be causing this or how to diagnose better. This is a snippet of what I get when running it with --stacktrace
:
Caused by: retrofit2.HttpException: HTTP 403 Response.error()
at de.fayard.refreshVersions.core.internal.MavenDependencyVersionsFetcherHttp.getXmlMetadataOrNull(MavenDependencyVersionsFetcherHttp.kt:44)
at de.fayard.refreshVersions.core.internal.MavenDependencyVersionsFetcherHttp$getXmlMetadataOrNull$1.invokeSuspend(MavenDependencyVersionsFetcherHttp.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:84)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at de.fayard.refreshVersions.core.RefreshVersionsTask.taskActionRefreshVersions(RefreshVersionsTask.kt:58)
...
Also tried running with --debug
and --info
but I don’t see anything helpful (or maybe I’m missing something)Big Chungus
08/03/2021, 2:08 PMx.y.+
or [x.y.z,)
) in refresh versions? Currently it seems to somewhat respect them, but still often returns older versions than applicable for a given version range.jmfayard
08/03/2021, 4:24 PMBig Chungus
08/04/2021, 3:17 PMversions.properties
from build.gradle(.kts)
?miqbaldc
08/12/2021, 11:22 AMThe AndroidX dependencies are annoying because they don’t follow a coherent versioning. @jmfayard---- https://github.com/jmfayard/refreshVersions/issues/403 tl;dr: the
lifecycle-extensions
was not found (intended), because using version of 2.3.0
in a same group (androidx.lifecycle
)
tusing
https://maven.google.com/web/#androidx.lifecycle:lifecycle-extensions:2.3.0 (not found, unless points to: 2.2.0
)
https://maven.google.com/web/#androidx.lifecycle:lifecycle-livedata:2.3.0
Is it possible to define different versions inside a same group?
A suggestion for keyword to search(?), looks like I’m might missed this important samples/examples in the docs 🙏miqbaldc
08/16/2021, 2:00 AMversionFor
inside a buildscript { }
?
https://github.com/jmfayard/refreshVersions/issues/407louiscad
08/24/2021, 12:39 PM## unused
comment coming after you run the refreshVersions
task?dave08
08/25/2021, 2:06 PMTrevor Merritt
09/09/2021, 8:27 PMdave08
09/13/2021, 10:32 AM* What went wrong:
74s
17 Could not resolve all artifacts for configuration 'classpath'.
74s
18 > Could not resolve gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:3.1.1.
74s
19 Required by:
74s
20 unspecified:unspecified:unspecified > com.google.cloud.tools.jib:com.google.cloud.tools.jib.gradle.plugin:3.1.1
74s
21 > Could not resolve gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:3.1.1.
74s
22 > Could not get resource '<https://plugins.gradle.org/m2/gradle/plugin/com/google/cloud/tools/jib-gradle-plugin/3.1.1/jib-gradle-plugin-3.1.1.pom>'.
74s
23 > Could not GET '<https://plugins.gradle.org/m2/gradle/plugin/com/google/cloud/tools/jib-gradle-plugin/3.1.1/jib-gradle-plugin-3.1.1.pom>'. Received status code 500 from server: Internal Server Error
74s
24 > Could not resolve de.fayard.refreshVersions:refreshVersions:0.20.0.
74s
25 Required by:
74s
26 unspecified:unspecified:unspecified > de.fayard.refreshVersions:de.fayard.refreshVersions.gradle.plugin:0.20.0
74s
27 > Skipped due to earlier error
r4zzz4k
11/11/2021, 2:29 PM./gradlew refreshVersions
currently fails for one of them. Looking through the logs I see that maven-metadata.xml
is available for the chthai64/SwipeRevealLayout, but for amulyakhare/TextDrawable JitPack just returns 404.
Do I understand correctly that this is strictly an issue with JitPack and has nothing to do with the plugin? If so, is there a way to ignore speicifc artifact when refreshing versions, but keep using version resolution for it (so I don't have to switch from _
to pinning the version in build.gradle
for this "broken" package)?Emil Kantis
11/16/2021, 6:38 PMversions.properties
to make it easier to navigate. Something like:
## Plugins (alphabetically sorted on substring after `plugin.`)
plugin.com.adarshr.test-logger=3.1.0
plugin.com.github.johnrengelman.shadow=7.1.0
plugin.org.jlleitschuh.gradle.ktlint=10.2.0
## Custom notations (alphabetically sorted on substring after `version.`)
version.kotest=4.6.3
version.kotlin=1.6.0
version.ktor=1.5.3
## Generated identifiers (alphabetically sorted on substring after `version.`)
version.org.mock-server..mockserver-core=5.11.2
version.org.postgresql..postgresql=42.3.1
What do you think?louiscad
12/30/2021, 6:48 PMdave08
01/17/2022, 4:40 PM<-- HTTP FAILED: okhttp3.internal.http2.StreamResetException: stream was reset: CANCEL
<-- HTTP FAILED: java.io.IOException: Canceled
<-- HTTP FAILED: java.io.IOException: Canceled
<-- HTTP FAILED: java.io.IOException: Canceled
<-- HTTP FAILED: java.io.IOException: Canceled
<-- HTTP FAILED: java.io.IOException: Canceled
--> GET <https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-service/maven-metadata.xml>
--> GET <https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-livedata-ktx/maven-metadata.xml>
--> GET <https://dl.google.com/dl/android/maven2/com/squareup/moshi/moshi-kotlin-codegen/maven-metadata.xml>
<-- HTTP FAILED: java.io.IOException: Canceled
--> GET <https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-runtime-ktx/maven-metadata.xml>
<-- HTTP FAILED: java.io.IOException: Canceled
<-- HTTP FAILED: java.io.IOException: Canceled
<-- HTTP FAILED: java.io.IOException: Canceled
<-- HTTP FAILED: java.io.IOException: Canceled
<-- HTTP FAILED: java.io.IOException: Canceled
--> GET <https://dl.google.com/dl/android/maven2/io/kotest/extensions/kotest-extensions-wiremock/maven-metadata.xml>
<-- HTTP FAILED: java.io.IOException: Canceled
<-- HTTP FAILED: java.io.IOException: Canceled
<-- HTTP FAILED: java.io.IOException: Canceled
Francis Mariano
01/19/2022, 1:30 PMimplementation(Firebase.analytics)
and when goes to sync I get the following message : Failed to resolve: com.google.firebase:firebase-analytics:
. Any idea to resolve that? If I came back with normal implementation of analytics the sync happens with success.Francis Mariano
01/19/2022, 2:29 PMclasspath("org.jetbrains.kotlin:kotlin-gradle-plugin:_")
Emil Kantis
01/20/2022, 3:47 PM<https://plugins.gradle.org/m2/de/fayard/refreshVersions/de.fayard.refreshVersions.gradle.plugin/maven-metadata.xml>
Opening it in browser also seems to generate issues, see screenshot in thread..Nikky
01/26/2022, 4:15 PMimplementation(Testing.junit.api)
e: ...\build.gradle.kts:90:46: Function invocation 'api(...)' expected
i am using gradle 7.3.3 (7.3 also has this behaviour)dave08
02/03/2022, 12:12 PMLine 13: kotlin("plugin.serialization") version versionFor(Kotlin.stdlib)
^ Unresolved reference: versionFor
for:
kotlin("plugin.serialization") version versionFor(Kotlin.stdlib)
in my plugins block... I have an import for it on top...dave08
02/03/2022, 12:15 PMYves Kalume
02/07/2022, 7:54 PM./gradlew refreshVersionsMigrate
it's replaced by Android.tools.build.gradlePlugin
with an outdated version.dave08
02/08/2022, 1:55 PMrefreshVersions
task on the main project still updates the versions.properties
in mylib instead of the one in the setting.gradle.kts's path in the main project... is there any workaround?jmfayard
02/25/2022, 9:40 PMgradle/libs.versions.toml
- rewriting the files build.gradle(.kts)
to use them
- adding dependency updates in gradle/libs.versions.toml
It's published in the snapshot version "0.40.2-SNAPSHOT"
Have a look at the Testing? pargraph from the pull-request https://github.com/jmfayard/refreshVersions/pull/509nkiesel
03/16/2022, 9:44 AMpublic const val kotlin_stdlib_jdk8: String = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:_"
in Libs.kt
, how do I know which version from version.properties
will be used to replace the _
? Do I first have to search for <http://version.org|version.org>_jetbrains_kotlin..kotlin_stdlib_jdk8
and then - if that does not exist - look for variations like <http://version.org|version.org>_jetbrains_kotlin
or version.kotlin_stdlib_jdk8
or version.kotlin
? And do I know which if these will be used if they all exist but have different values?nkiesel
03/16/2022, 9:44 AMpublic const val kotlin_stdlib_jdk8: String = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:_"
in Libs.kt
, how do I know which version from version.properties
will be used to replace the _
? Do I first have to search for <http://version.org|version.org>_jetbrains_kotlin..kotlin_stdlib_jdk8
and then - if that does not exist - look for variations like <http://version.org|version.org>_jetbrains_kotlin
or version.kotlin_stdlib_jdk8
or version.kotlin
? And do I know which if these will be used if they all exist but have different values?Nikky
03/17/2022, 6:22 PM#unused
on entries that are not used by any dependency ./. not sure how realiably it works
and ideally for kotlin and other popular dependencies there is rules setup to have them point to a single entry eg. version.kotlin
inpectRefreshversionDependency
that you feed with a dependency notation and it tells you what versionKey it resolves to ?jmfayard
03/17/2022, 8:48 PM