mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
37 lines
711 B
Groovy
37 lines
711 B
Groovy
plugins {
|
|
alias(libs.plugins.shadow)
|
|
}
|
|
|
|
repositories {
|
|
maven { url 'https://repo.papermc.io/repository/maven-public/' }
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'com.destroystokyo.paper:paper-api:1.15.2-R0.1-SNAPSHOT'
|
|
|
|
implementation project(':api')
|
|
implementation project(':common:loader-utils')
|
|
}
|
|
|
|
processResources {
|
|
filesMatching('plugin.yml') {
|
|
expand 'pluginVersion': project.ext.fullVersion
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
archiveFileName = "LuckPerms-Bukkit-${project.ext.fullVersion}.jar"
|
|
|
|
from {
|
|
project(':bukkit').tasks.shadowJar.archiveFile
|
|
}
|
|
|
|
manifest {
|
|
attributes(["paperweight-mappings-namespace": "mojang"])
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
archives shadowJar
|
|
}
|