mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-27 12:46:02 +01:00
54 lines
1.4 KiB
Groovy
54 lines
1.4 KiB
Groovy
import org.spongepowered.gradle.plugin.config.PluginLoaders
|
|
import org.spongepowered.plugin.metadata.model.PluginDependency
|
|
|
|
plugins {
|
|
alias(libs.plugins.spongeplugin)
|
|
}
|
|
|
|
apply from: rootProject.file('buildscript/loader.gradle')
|
|
|
|
dependencies {
|
|
// API
|
|
implementation project(':common:common-api')
|
|
|
|
// DependencyDownload
|
|
implementation(libs.dependencydownload.jarinjar.loader)
|
|
}
|
|
|
|
shadowJar {
|
|
archiveBaseName = 'DiscordSRV-Sponge'
|
|
}
|
|
|
|
// buildscript/loader.gradle includes the jarinjar in the jar
|
|
|
|
sponge {
|
|
apiVersion(libs.versions.sponge.get())
|
|
license('GPLv3')
|
|
loader {
|
|
name(PluginLoaders.JAVA_PLAIN)
|
|
version('1.0')
|
|
}
|
|
plugin('discordsrv') {
|
|
displayName('DiscordSRV')
|
|
version(project.version)
|
|
entrypoint('com.discordsrv.sponge.loader.DiscordSRVSpongeLoader')
|
|
description('')
|
|
links {
|
|
homepage('https://discordsrv.com')
|
|
source('https://github.com/DiscordSRV/DiscordSRV')
|
|
issues('https://github.com/DiscordSRV/DiscordSRV/issues')
|
|
}
|
|
contributor('Scarsz') {
|
|
description('Developer')
|
|
}
|
|
contributor('Vankka') {
|
|
description('Developer')
|
|
}
|
|
dependency('spongeapi') {
|
|
loadOrder(PluginDependency.LoadOrder.AFTER)
|
|
version('[8.0.0,)')
|
|
optional(false)
|
|
}
|
|
}
|
|
}
|