Search Gradle plugins

nl.martijndwars.proxy

Make Gradle use the web proxy based on the HTTP_PROXY, HTTPS_PROXY and NO_PROXY variables.

https://github.com/MartijnDwars/proxy-gradle-plugin

Version 1.0.1 (latest)

Created 01 April 2021.

Make Gradle use the web proxy based on the HTTP_PROXY, HTTPS_PROXY and NO_PROXY variables.

Using the plugins DSL:

plugins {
  id "nl.martijndwars.proxy" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "nl.martijndwars:proxy-gradle-plugin:1.0.1"
  }
}

apply plugin: "nl.martijndwars.proxy"

Using the plugins DSL:

plugins {
  id("nl.martijndwars.proxy") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("nl.martijndwars:proxy-gradle-plugin:1.0.1")
  }
}

apply(plugin = "nl.martijndwars.proxy")

Learn how to apply plugins to subprojects