Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.strumenta.antlr-kotlin") version "0.0.7"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.strumenta.antlr-kotlin:antlr-kotlin-gradle-plugin:0.0.7")
  }
}

apply(plugin = "com.strumenta.antlr-kotlin")

Using the plugins DSL:

plugins {
  id "com.strumenta.antlr-kotlin" version "0.0.7"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.strumenta.antlr-kotlin:antlr-kotlin-gradle-plugin:0.0.7"
  }
}

apply plugin: "com.strumenta.antlr-kotlin"

Learn how to apply plugins to subprojects