Search Gradle plugins

Using the plugins DSL:

plugins {
  id "org.protelis.protelis2kotlin" version "0.1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.protelis:protelis-kdoc-generator:0.1.2"
  }
}

apply plugin: "org.protelis.protelis2kotlin"

Using the plugins DSL:

plugins {
  id("org.protelis.protelis2kotlin") version "0.1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.protelis:protelis-kdoc-generator:0.1.2")
  }
}

apply(plugin = "org.protelis.protelis2kotlin")

Learn how to apply plugins to subprojects