Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.protelis.protelis2kotlin") version "0.1.0-dev04+185101d0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "org.protelis.protelis2kotlin" version "0.1.0-dev04+185101d0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.protelis:protelis-kdoc-generator:0.1.0-dev04+185101d0"
  }
}

apply plugin: "org.protelis.protelis2kotlin"

Learn how to apply plugins to subprojects