Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.xtext.idea-aggregator") version "0.3.7"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.xtext:xtext-idea-gradle-plugin:0.3.7")
  }
}

apply(plugin = "org.xtext.idea-aggregator")

Using the plugins DSL:

plugins {
  id "org.xtext.idea-aggregator" version "0.3.7"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.xtext:xtext-idea-gradle-plugin:0.3.7"
  }
}

apply plugin: "org.xtext.idea-aggregator"

Learn how to apply plugins to subprojects