Search Gradle plugins

Using the plugins DSL:

plugins {
  id("ru.capjack.csi.api") version "0.3.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ru.capjack.csi:csi-api-gradle:0.3.0")
  }
}

apply(plugin = "ru.capjack.csi.api")

Using the plugins DSL:

plugins {
  id "ru.capjack.csi.api" version "0.3.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ru.capjack.csi:csi-api-gradle:0.3.0"
  }
}

apply plugin: "ru.capjack.csi.api"

Learn how to apply plugins to subprojects