Search Gradle plugins

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 = uri("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 "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