LuckPerms/bukkit/loader/build.gradle

33 lines
634 B
Groovy
Raw Normal View History

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'
2021-08-20 19:16:39 +02:00
implementation project(':api')
implementation project(':common:loader-utils')
}
processResources {
2021-08-20 19:16:39 +02:00
filesMatching('plugin.yml') {
expand 'pluginVersion': project.ext.fullVersion
}
}
shadowJar {
2021-08-20 19:16:39 +02:00
archiveFileName = "LuckPerms-Bukkit-${project.ext.fullVersion}.jar"
from {
project(':bukkit').tasks.shadowJar.archiveFile
}
}
artifacts {
archives shadowJar
2021-08-20 19:16:39 +02:00
}