Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.neow3j.gradle-plugin") version "3.11.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.neow3j:gradle-plugin:3.11.2")
  }
}

apply(plugin = "io.neow3j.gradle-plugin")

Using the plugins DSL:

plugins {
  id "io.neow3j.gradle-plugin" version "3.11.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.neow3j:gradle-plugin:3.11.2"
  }
}

apply plugin: "io.neow3j.gradle-plugin"

Learn how to apply plugins to subprojects