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)?Big Chungus
11/11/2021, 2:41 PMDo I understand correctly that this is strictly an issue with JitPackYes
is there a way to ignore speicifc artifact when refreshing versions, but keep using version resolution for itYou can keep version in versions.properties (and manage it manually) and fetch it in dependencies block using
versionFor("<http://version.my|version.my>.unique.version.key")
louiscad
11/11/2021, 2:41 PMr4zzz4k
11/11/2021, 2:46 PMversionFor
instead of _
sounds like a fine workaround I didn't think about.Big Chungus
11/11/2021, 2:48 PMEmil Kantis
11/11/2021, 6:21 PMis there a way to ignore speicifc artifact when refreshing versions, but keep using version resolution for itAnother option could be adding
refreshVersions {
rejectVersionIf { moduleId.name == "com.package" } // Or perhaps in combination with moduleId.group
}
to settings.gradle.kts
, perhaps..r4zzz4k
11/11/2021, 6:27 PMbuild.gradle
intact. Thank you foe the suggestion anyway!