mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-27 21:29:47 +01:00
33 lines
605 B
Groovy
33 lines
605 B
Groovy
plugins {
|
|
id 'com.github.johnrengelman.shadow'
|
|
}
|
|
|
|
repositories {
|
|
maven { url 'https://repo.opencollab.dev/maven-snapshots/' }
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'cn.nukkit:nukkit:1.0-SNAPSHOT'
|
|
|
|
implementation project(':api')
|
|
implementation project(':common:loader-utils')
|
|
}
|
|
|
|
processResources {
|
|
filesMatching('plugin.yml') {
|
|
expand 'pluginVersion': project.ext.fullVersion
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
archiveFileName = "LuckPerms-Nukkit-${project.ext.fullVersion}.jar"
|
|
|
|
from {
|
|
project(':nukkit').tasks.shadowJar.archiveFile
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
archives shadowJar
|
|
}
|