org.spongepowered.gradle.repository
自动在项目上配置Sponge Maven仓库
来源: https://github.com/SpongePowered/SpongeGradle
使用 插件DSL
plugins {
id("org.spongepowered.gradle.repository") version "2.2.0"
}
使用 旧插件应用程序
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("org.spongepowered:spongegradle-repository:2.2.0")
}
}
apply(plugin = "org.spongepowered.gradle.repository")
使用 插件DSL
plugins {
id "org.spongepowered.gradle.repository" version "2.2.0"
}
使用 旧插件应用程序
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "org.spongepowered:spongegradle-repository:2.2.0"
}
}
apply plugin: "org.spongepowered.gradle.repository"