mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-17 08:05:35 +01:00
33 lines
648 B
Groovy
33 lines
648 B
Groovy
plugins {
|
|
id 'com.github.johnrengelman.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-Legacy-${project.ext.fullVersion}.jar"
|
|
|
|
from {
|
|
project(':bukkit-legacy').tasks.shadowJar.archiveFile
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
archives shadowJar
|
|
}
|