1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-08-31 18:11:44 +02:00

Update to Gradle 7 (#3051)

This commit is contained in:
Callum Seabrook
2021-08-20 18:16:39 +01:00
committed by GitHub
parent b232cb94b4
commit ba522597a8
25 changed files with 308 additions and 263 deletions

View File

@@ -9,19 +9,18 @@ repositories {
dependencies {
compileOnly 'com.destroystokyo.paper:paper-api:1.15.2-R0.1-SNAPSHOT'
compile project(':api')
compile project(':common:loader-utils')
implementation project(':api')
implementation project(':common:loader-utils')
}
processResources {
from(sourceSets.main.resources.srcDirs) {
expand 'pluginVersion': project.ext.fullVersion
include 'plugin.yml'
filesMatching('plugin.yml') {
expand 'version': project.ext.fullVersion
}
}
shadowJar {
archiveName = "LuckPerms-Bukkit-${project.ext.fullVersion}.jar"
archiveFileName = "LuckPerms-Bukkit-${project.ext.fullVersion}.jar"
from {
project(':bukkit').tasks.shadowJar.archiveFile
@@ -30,4 +29,4 @@ shadowJar {
artifacts {
archives shadowJar
}
}

View File

@@ -1,5 +1,5 @@
name: LuckPerms
version: ${pluginVersion}
version: @pluginVersion@
description: A permissions plugin
author: Luck
website: https://luckperms.net