mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-01 07:03:43 +01:00
33 lines
670 B
Groovy
33 lines
670 B
Groovy
|
plugins {
|
||
|
id 'com.github.johnrengelman.shadow'
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
maven { url 'https://papermc.io/repo/repository/maven-public/' }
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
compileOnly 'com.destroystokyo.paper:paper-api:1.15.2-R0.1-SNAPSHOT'
|
||
|
|
||
|
compile project(':api')
|
||
|
compile project(':common:loader-utils')
|
||
|
}
|
||
|
|
||
|
processResources {
|
||
|
from(sourceSets.main.resources.srcDirs) {
|
||
|
expand 'pluginVersion': project.ext.fullVersion
|
||
|
include 'plugin.yml'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
shadowJar {
|
||
|
archiveName = "LuckPerms-Bukkit-Legacy-${project.ext.fullVersion}.jar"
|
||
|
|
||
|
from {
|
||
|
project(':bukkit-legacy').tasks.shadowJar.archiveFile
|
||
|
}
|
||
|
}
|
||
|
|
||
|
artifacts {
|
||
|
archives shadowJar
|
||
|
}
|