搜索Gradle插件

使用插件DSL

plugins {
  id("com.intershop.gradle.icm.docker.solrcloud") version "5.3.0"
}

使用旧插件应用

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org.cn/m2/")
    }
  }
  dependencies {
    classpath("com.intershop.gradle.icm.docker:icm-docker-plugin:5.3.0")
  }
}

apply(plugin = "com.intershop.gradle.icm.docker.solrcloud")

使用插件DSL

plugins {
  id "com.intershop.gradle.icm.docker.solrcloud" version "5.3.0"
}

使用旧插件应用

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org.cn/m2/"
    }
  }
  dependencies {
    classpath "com.intershop.gradle.icm.docker:icm-docker-plugin:5.3.0"
  }
}

apply plugin: "com.intershop.gradle.icm.docker.solrcloud"

了解如何将插件应用于子项目