Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fetchVersionsFromMavenMetadata (0.2 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                .text()
    
        private
        fun DocumentBuilderFactory.fetchNightlyVersion(mavenMetadataUrl: String): String =
            fetchVersionsFromMavenMetadata(mavenMetadataUrl)
                .single()
    }
    
    
    internal
    fun DocumentBuilderFactory.fetchVersionsFromMavenMetadata(url: String): List<String> =
        newDocumentBuilder()
            .parse(url)
            .getElementsByTagName("version").let { versions ->
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 09:17:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

            }
        }
    
        private
        fun DocumentBuilderFactory.fetchFirstAndLatestsOfEachMinor(minimumSupported: String, mavenMetadataUrl: String): List<String> {
            return selectVersionsFrom(minimumSupported, fetchVersionsFromMavenMetadata(mavenMetadataUrl))
        }
    
        companion object {
            @VisibleForTesting
            @JvmStatic
            fun selectVersionsFrom(minimumSupported: String, allVersions: List<String>): List<String> {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 18:27:26 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top