LuckPerms/nukkit/loader/build.gradle

33 lines
584 B
Groovy
Raw Normal View History

plugins {
alias(libs.plugins.shadow)
}
repositories {
2023-03-07 23:18:07 +01:00
maven { url 'https://repo.opencollab.dev/main/' }
}
dependencies {
compileOnly 'cn.nukkit:nukkit:1.0-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-Nukkit-${project.ext.fullVersion}.jar"
from {
project(':nukkit').tasks.shadowJar.archiveFile
}
}
artifacts {
archives shadowJar
2021-08-20 19:16:39 +02:00
}