mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 03:25:19 +01:00
75d8f00400
This fixes an issue that prevented LuckPerms from loading on Java 16
34 lines
630 B
Groovy
34 lines
630 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'
|
|
|
|
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-Nukkit-${project.ext.fullVersion}.jar"
|
|
|
|
from {
|
|
project(':nukkit').tasks.shadowJar.archiveFile
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
archives shadowJar
|
|
} |