Search Gradle plugins

Using the plugins DSL:

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

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:0.0.30")
  }
}

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

Using the plugins DSL:

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

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:0.0.30"
  }
}

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

Learn how to apply plugins to subprojects