LuckPerms/nukkit/loader/build.gradle

34 lines
608 B
Groovy

plugins {
id 'com.github.johnrengelman.shadow'
}
repositories {
mavenLocal()
maven { url 'https://repo.nukkitx.com/main/' }
}
dependencies {
compileOnly 'cn.nukkit:nukkit:1.0-SNAPSHOT'
implementation project(':api')
implementation project(':common:loader-utils')
}
processResources {
filesMatching('plugin.yml') {
expand 'pluginVersion': project.ext.fullVersion
}
}
shadowJar {
archiveFileName = "LuckPerms-Nukkit-${project.ext.fullVersion}.jar"
from {
project(':nukkit').tasks.shadowJar.archiveFile
}
}
artifacts {
archives shadowJar
}