2021-02-18 14:28:47 +01:00
|
|
|
plugins {
|
|
|
|
id 'com.github.johnrengelman.shadow'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
2022-09-05 22:38:31 +02:00
|
|
|
maven { url 'https://repo.papermc.io/repository/maven-public/' }
|
2021-02-18 14:28:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly 'com.destroystokyo.paper:paper-api:1.15.2-R0.1-SNAPSHOT'
|
|
|
|
|
2021-08-20 19:16:39 +02:00
|
|
|
implementation project(':api')
|
|
|
|
implementation project(':common:loader-utils')
|
2021-02-18 14:28:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
2021-08-20 19:16:39 +02:00
|
|
|
filesMatching('plugin.yml') {
|
2021-08-20 19:46:39 +02:00
|
|
|
expand 'pluginVersion': project.ext.fullVersion
|
2021-02-18 14:28:47 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
2021-08-20 19:16:39 +02:00
|
|
|
archiveFileName = "LuckPerms-Bukkit-Legacy-${project.ext.fullVersion}.jar"
|
2021-02-18 14:28:47 +01:00
|
|
|
|
|
|
|
from {
|
|
|
|
project(':bukkit-legacy').tasks.shadowJar.archiveFile
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
archives shadowJar
|
2021-08-20 19:16:39 +02:00
|
|
|
}
|