dave08
02/03/2022, 12:15 PMdave08
02/07/2022, 4:08 PMincludeBuild
in project A to include project B and running refreshVersions task in project A, only project B's versions.properties gets updated 🤕 😧dave08
02/07/2022, 4:10 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/509Nikky
03/04/2022, 11:46 AM[plugins]
or [versions]
and a library light have comemnts added by refreshVersion in [libraries]
or [versions]
• having [versions]
on top and folding the other sections closed would be nice
can refreshVersions be used to referente accessors to libs.
?
having implementation(libs.dependency("com.kotlindiscord.kord.extensions:annotations"))
where ``dependency`` would register the dependency and return the reference to libs.kord.extensions.annotations
(following the grouping rules: versiongroup + name to have a unique key)
PS: i have no idea about internals and this might well be impossible.. so please take this as a "wish"
but it seems like this could work
fun AbstractExternalDependencyFactory.dependency(dependencyNoation: DepdnencyNotation): Provider<MinimalExternalModuleDependency> {
val alias = TODO() // register dependency / add to version catalog / generate alias from version-key + artifactname (or just a cleaned up dependency notation if no grouping rules is available)
// alias = "kord.extensions.annotations"
return create(alias)
}
unless ofc refreshVersion can make it happen automatically under the hood
would something similar be possible in the plugins block too ? there we have to call it like so: alias(libs.plugin("org.jetbrains.kotlin.jvm"))
maybe
ideally the way i use refreshVersion can stay the same.. drop in some dependency in one spot, have refreshVersion deal with adding it to the libraries, versions and whatnot for me.
and lastly.. right now it seems like even after migration the toml file contains references to versions with _
that cause versions.properties
to be populated
it would be nice to be able to fully switch, i assume that is planned
those are the features i am hoping for...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?miqbaldc
04/07/2022, 4:40 AMkotlin-dsl
plugins in the buildSrc
directory, any suggestion or ideas for this?
https://github.com/jmfayard/refreshVersions/discussions/533miqbaldc
06/30/2022, 12:35 AMConstantin Cezar Begu
07/09/2022, 3:12 PMjmfayard
07/10/2022, 3:56 PMdave08
07/26/2022, 2:00 PMPlugin with id 'de.fayard.buildSrcLibs' not found.
if I configured everything like said in the setup page... even though this is a composite gradle build, it USED to work...?jmfayard
08/02/2022, 7:11 AMEmil Butiri
08/24/2022, 9:24 AM## failed to check repo <https://example.com/artifactory/libs-release/> Cause: http status code 403 HTTP 403 Response.error()
Is it possible to configure refreshVersions to skip this repo?dave08
09/11/2022, 12:42 PMCould not find de.fayard.buildSrcLibs:de.fayard.buildSrcLibs.gradle.plugin:0.50.0.
is this a known issue?dave08
09/11/2022, 12:51 PMdave08
09/12/2022, 11:09 AMjmfayard
09/15/2022, 4:10 PMgradle/libs.versions.gradle
?
refreshVersions just added support for Gradle Versions Catalog
It's a huge feature though, so we would love for gentle early adatopers to give it a try
https://github.com/jmfayard/refreshVersions/wiki/RefreshVersions-%E2%99%A5%EF%B8%8F-Gradle-Version-Catalogmiqbaldc
10/31/2022, 6:42 AMjmfayard
11/08/2022, 9:22 PMChris Margonis
11/11/2022, 8:50 AM3.3.0
while the rest of the koin artifacts are on version 3.2.2
. The thing is (for which I haven't found a workaround) that in `versions.properties`file, only a single koin notation gets added. Is there a way to declare those two versions separately other than putting the version myself in the build script?Toddobryan
12/30/2022, 1:46 AMkotlin("plugin.serialization")
, and in the interest of teaching me to fish, what’s the easiest way to discover which dependencies have constants already defined?dave08
01/18/2023, 2:06 PM.RELEASE
is a higher version than `.RC..`:
version.io.r2dbc..r2dbc-h2=1.0.0.RELEASE
## # available=1.0.0.RC1
Luke
03/22/2023, 9:30 PMbuildSrcLibs
, it overrides my buildSrc/build.gradle.kts. I have to rollback each time. Is this a known bug?
• I have a gradle plugin added to my project hosted in a private maven repository. refreshVersions
does not add the notation to Libs.kt
, and the version to versions.properties
. Is there something I can do about it?Colton Idle
04/24/2023, 5:36 PMNikky
08/22/2023, 8:20 AMlibs.versions.toml
… also more npm dependencies version keys are incorrectly marked as a unusedBen Madore
09/01/2023, 10:23 PMemployer-profile = "0.1.160"
## ⬆ = "0.1.162"
## ⬆ = "0.1.163"
## ⬆ = "0.1.164"
## ⬆ = "0.1.165"
## ⬆ = "0.1.166"
## ⬆ = "0.1.167"
...
## ⬆ = "0.1.275"
## ⬆ = "0.1.276"
## ⬆ = "0.1.277"
## ⬆ = "0.1.278"
## ⬆ = "0.1.279"
## ⬆ = "0.1.280"
## ⬆ = "0.1.281"
## ⬆ = "0.1.282"
## ⬆ = "0.1.283"
## ⬆ = "0.1.284"
## ⬆ = "0.1.285"
## ⬆ = "0.1.286"
limit it to either latest
, or n latest
versions, where ideally n is less than the 126 it currently outputs in this case 🙂 ?dave08
11/09/2023, 11:40 AMdave08
01/23/2024, 4:09 PM