Search Gradle plugins

Version 2.5-M2-dev-2

2.5-M2-dev-2

Created 02 March 2021.

Gradle plugin for Mirai Console

Using the plugins DSL:

plugins {
  id("net.mamoe.mirai-console") version "2.5-M2-dev-2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("net.mamoe:mirai-console-gradle:2.5-M2-dev-2")
  }
}

apply(plugin = "net.mamoe.mirai-console")

Using the plugins DSL:

plugins {
  id "net.mamoe.mirai-console" version "2.5-M2-dev-2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.mamoe:mirai-console-gradle:2.5-M2-dev-2"
  }
}

apply plugin: "net.mamoe.mirai-console"

Learn how to apply plugins to subprojects