Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.jsweet.jsweet-gradle-plugin") version "2.3.7"
}

Using legacy plugin application:

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

apply(plugin = "org.jsweet.jsweet-gradle-plugin")

Using the plugins DSL:

plugins {
  id "org.jsweet.jsweet-gradle-plugin" version "2.3.7"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.jsweet:jsweet-gradle-plugin:2.3.7"
  }
}

apply plugin: "org.jsweet.jsweet-gradle-plugin"

Learn how to apply plugins to subprojects