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

Extensions for org.gradle.api.Project

createJosmDependencyFuzzy

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.

getAllRequiredJosmPlugins

fun Project.getAllRequiredJosmPlugins(directlyRequiredPlugins: Collection<String>): Set<Dependency>

Resolves the JOSM plugin names given as parameter, using the available repositories for this project. Not only are the given plugin names resolved to Dependencies, but also all JOSM plugins on which these plugins depend.

getVirtualPlugins

fun Project.getVirtualPlugins(): Map<String, List<Pair<String, String>>>