Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.pswidersk.python-plugin") version "2.7.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.pswidersk:python-gradle-plugin:2.7.3")
  }
}

apply(plugin = "com.pswidersk.python-plugin")

Using the plugins DSL:

plugins {
  id "com.pswidersk.python-plugin" version "2.7.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.pswidersk:python-gradle-plugin:2.7.3"
  }
}

apply plugin: "com.pswidersk.python-plugin"

Learn how to apply plugins to subprojects