Search Gradle plugins

Version 1.8 (latest)

Created 05 February 2021.

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

Add this plugin to your build using the plugins DSL:

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

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.robothy.cn-repo:com.robothy.cn-repo.gradle.plugin:1.8")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.robothy.cn-repo")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.robothy.cn-repo:com.robothy.cn-repo.gradle.plugin:1.8")
      }
    }
    
    apply(plugin = "com.robothy.cn-repo")
  • Applying plugins to all subprojects .