DynmapCore: update processResources to Gradle 7 format

This commit is contained in:
Kosma Moczek 2021-06-27 14:18:53 +02:00
parent cf121956c3
commit 5290cdf9f1

View File

@ -13,14 +13,15 @@ dependencies {
processResources { processResources {
// replace stuff in mcmod.info, nothing else // replace stuff in mcmod.info, nothing else
from('src/main/resources') { filesMatching([
include 'core.yml' 'core.yml',
include 'lightings.txt' 'lightings.txt',
include 'perspectives.txt' 'perspectives.txt',
include 'shaders.txt' 'shaders.txt',
include 'extracted/web/version.js' 'version.js',
include 'extracted/web/index.html' 'index.html',
include 'extracted/web/login.html' 'login.html',
]) {
// replace version and mcversion // replace version and mcversion
expand( expand(
buildnumber: project.parent.ext.globals.buildNumber, buildnumber: project.parent.ext.globals.buildNumber,