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.1 (latest)

1.0.1

Created 09 December 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

Add this plugin to your build using the plugins DSL:

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

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.supcis.plugins.gradle:gradle-dependency-resolution-plugin:1.0.1")
      }
    }
    
    apply(plugin = "com.supcis.java-toolchain-resolver")
  • Applying plugins to all subprojects .