Search Gradle plugins

com.supcis.java-toolchain-resolver

Configures a JavaToolchainResolver that is configured via environment variables: - MAVEN_DOWNLOAD_URL: the base URL for the maven repository - MAVEN_USER: the username for the maven repository (optional) - MAVEN_PASSWORD: the password for the maven repository (optional) The JDK is expected to be in the form of a maven coordinate: [MAVEN_DOWNLOAD_URL]/jdk/vendor/version/os/architecture/vendor-jdk-version-os-architecture.zip

https://github.com/Element-Logic/gradle-dependency-resolution-plugin

Sources: https://github.com/Element-Logic/gradle-dependency-resolution-plugin.git

Version 1.0.0 (latest)

1.0.0

Created 08 November 2024.

Configures a JavaToolchainResolver that is configured via environment variables: - MAVEN_DOWNLOAD_URL: the base URL for the maven repository - MAVEN_USER: the username for the maven repository (optional) - MAVEN_PASSWORD: the password for the maven repository (optional) The JDK is expected to be in the form of a maven coordinate: [MAVEN_DOWNLOAD_URL]/jdk/vendor/version/os/architecture/vendor-jdk-version-os-architecture.zip

Using the plugins DSL:

plugins {
  id("com.supcis.java-toolchain-resolver") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.supcis.plugins.gradle:gradle-dependency-resolution-plugin:1.0.0")
  }
}

apply(plugin = "com.supcis.java-toolchain-resolver")

Using the plugins DSL:

plugins {
  id "com.supcis.java-toolchain-resolver" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.supcis.plugins.gradle:gradle-dependency-resolution-plugin:1.0.0"
  }
}

apply plugin: "com.supcis.java-toolchain-resolver"

Learn how to apply plugins to subprojects