gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.util / org.gradle.api.Project / createJosmDependencyFuzzy

createJosmDependencyFuzzy

@ExperimentalUnsignedTypes fun Project.createJosmDependencyFuzzy(version: UInt, versionFuzziness: UInt = this.extensions.josm.josmVersionFuzziness.toUInt()): Dependency

Finds the next JOSM version available in the repositories known to Gradle, starting with a given version number.

The parameter versionFuzziness determines, how many versions are checked, starting at version. If versionFuzziness is not given as argument, the value of JosmPluginExtension.josmVersionFuzziness is used.

Exceptions

GradleException - if no suitable JOSM version can be found.

Return
the next available JOSM dependency