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 {
// replace stuff in mcmod.info, nothing else
from('src/main/resources') {
include 'core.yml'
include 'lightings.txt'
include 'perspectives.txt'
include 'shaders.txt'
include 'extracted/web/version.js'
include 'extracted/web/index.html'
include 'extracted/web/login.html'
filesMatching([
'core.yml',
'lightings.txt',
'perspectives.txt',
'shaders.txt',
'version.js',
'index.html',
'login.html',
]) {
// replace version and mcversion
expand(
buildnumber: project.parent.ext.globals.buildNumber,