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)

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:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.supcis.java-toolchain-resolver:com.supcis.java-toolchain-resolver.gradle.plugin:1.0.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.supcis.java-toolchain-resolver")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.supcis.java-toolchain-resolver:com.supcis.java-toolchain-resolver.gradle.plugin:1.0.1")
      }
    }
    
    apply(plugin = "com.supcis.java-toolchain-resolver")
  • Applying plugins to all subprojects .