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

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

Version 0.3.0 (latest)

Created 06 March 2023.

A Gradle plugin that enables dynamic configuration of toolchains for specific tasks via project properties.

Using the plugins DSL:

plugins {
  id("io.github.themrmilchmann.toolchain-switches") version "0.3.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.3.0")
  }
}

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

Using the plugins DSL:

plugins {
  id "io.github.themrmilchmann.toolchain-switches" version "0.3.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.3.0"
  }
}

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

Learn how to apply plugins to subprojects