Search Gradle plugins

io.github.themrmilchmann.toolchain-switches

A Gradle plugin that adds command line parameters that may be used to dynamically switch between toolchains for specific tasks.

https://github.com/TheMrMilchmann/gradle-toolchain-switches

Version 0.2.0 (latest)

Created 26 September 2022.

A Gradle plugin that adds command line parameters that may be used to dynamically switch between toolchains for specific tasks.

Using the plugins DSL:

plugins {
  id "io.github.themrmilchmann.toolchain-switches" version "0.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.themrmilchmann.gradle.toolchainswitches:gradle-toolchain-switches:0.2.0"
  }
}

apply plugin: "io.github.themrmilchmann.toolchain-switches"

Using the plugins DSL:

plugins {
  id("io.github.themrmilchmann.toolchain-switches") version "0.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.themrmilchmann.gradle.toolchainswitches:gradle-toolchain-switches:0.2.0")
  }
}

apply(plugin = "io.github.themrmilchmann.toolchain-switches")

Learn how to apply plugins to subprojects