Search Gradle plugins

Using the plugins DSL:

plugins {
  id("de.akii.commercetools.api.customtypes") version "1.6.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("de.akii.commercetools:commercetools-sdk-java-api-customtypes-gradle-plugin:1.6.4")
  }
}

apply(plugin = "de.akii.commercetools.api.customtypes")

Using the plugins DSL:

plugins {
  id "de.akii.commercetools.api.customtypes" version "1.6.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "de.akii.commercetools:commercetools-sdk-java-api-customtypes-gradle-plugin:1.6.4"
  }
}

apply plugin: "de.akii.commercetools.api.customtypes"

Learn how to apply plugins to subprojects