Ascension/sponge/loader/build.gradle

54 lines
1.4 KiB
Groovy
Raw Normal View History

2021-07-29 03:14:29 +02:00
import org.spongepowered.gradle.plugin.config.PluginLoaders
2021-10-09 19:49:59 +02:00
import org.spongepowered.plugin.metadata.model.PluginDependency
2021-07-29 03:14:29 +02:00
plugins {
2021-10-09 19:49:59 +02:00
id 'org.spongepowered.gradle.plugin' version '2.0.0'
2021-07-29 03:14:29 +02:00
}
apply from: rootProject.file('buildscript/loader.gradle')
dependencies {
// API
implementation project(':common:common-api')
2021-07-29 03:14:29 +02:00
// DependencyDownload
implementation 'dev.vankka.minecraftdependencydownload:jarinjar-loader:' + rootProject.mddVersion
}
shadowJar {
archiveBaseName = 'DiscordSRV-Sponge'
}
// buildscript/loader.gradle includes the jarinjar in the jar
sponge {
2021-10-09 19:49:59 +02:00
apiVersion('8.0.0-SNAPSHOT')
license('GPLv3')
loader {
name(PluginLoaders.JAVA_PLAIN)
version('1.0')
}
2021-07-29 03:14:29 +02:00
plugin('discordsrv') {
displayName('DiscordSRV')
version(project.version)
2021-10-09 19:49:59 +02:00
entrypoint('com.discordsrv.sponge.loader.DiscordSRVSpongeLoader')
2021-07-29 03:14:29 +02:00
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)
2021-10-09 19:49:59 +02:00
version('[8.0.0,)')
2021-07-29 03:14:29 +02:00
optional(false)
}
}
}