Search Gradle plugins

Version 1.8 (latest)

Created 05 February 2021.

Quickly set CN repository mirrors.(快速添加国内的仓库镜像,如阿里云镜像)

Using the plugins DSL:

plugins {
  id "com.robothy.cn-repo" version "1.8"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.robothy:cn-repo:1.8"
  }
}

apply plugin: "com.robothy.cn-repo"

Using the plugins DSL:

plugins {
  id("com.robothy.cn-repo") version "1.8"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.robothy:cn-repo:1.8")
  }
}

apply(plugin = "com.robothy.cn-repo")

Learn how to apply plugins to subprojects