Search Gradle plugins

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.squareup.wire") version "4.7.1"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.squareup.wire:wire-gradle-plugin:4.7.1")
      }
    }
    
    apply(plugin = "com.squareup.wire")
  • Applying plugins to all subprojects .