mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-30 12:37:37 +01:00
forge-*: fix resource handling on Gradle 7
This commit is contained in:
parent
70825f3a18
commit
3d1e3053e1
@ -37,23 +37,13 @@ project.archivesBaseName = "${project.archivesBaseName}-forge-1.13.2"
|
||||
|
||||
processResources
|
||||
{
|
||||
inputs.property "version", project.version + '-' + project.ext.buildNumber
|
||||
|
||||
// replace stuff in mcmod.info, nothing else
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'META-INF/mods.toml'
|
||||
|
||||
filesMatching('mods.toml') {
|
||||
// replace version and mcversion
|
||||
expand(
|
||||
version: project.version + '-' + project.ext.buildNumber,
|
||||
mcversion: "1.13.2"
|
||||
)
|
||||
}
|
||||
|
||||
// copy everything else, thats not the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'META-INF/mods.toml'
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
@ -35,23 +35,13 @@ dependencies {
|
||||
|
||||
processResources
|
||||
{
|
||||
inputs.property "version", project.version + '-' + project.ext.buildNumber
|
||||
|
||||
// replace stuff in mcmod.info, nothing else
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'META-INF/mods.toml'
|
||||
|
||||
filesMatching('mods.toml') {
|
||||
// replace version and mcversion
|
||||
expand(
|
||||
version: project.version + '-' + project.ext.buildNumber,
|
||||
mcversion: "1.14.4"
|
||||
)
|
||||
}
|
||||
|
||||
// copy everything else, thats not the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'META-INF/mods.toml'
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
@ -35,23 +35,13 @@ dependencies {
|
||||
|
||||
processResources
|
||||
{
|
||||
inputs.property "version", project.version + '-' + project.ext.buildNumber
|
||||
|
||||
// replace stuff in mcmod.info, nothing else
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'META-INF/mods.toml'
|
||||
|
||||
filesMatching('mods.toml') {
|
||||
// replace version and mcversion
|
||||
expand(
|
||||
version: project.version + '-' + project.ext.buildNumber,
|
||||
mcversion: "1.15.2"
|
||||
)
|
||||
}
|
||||
|
||||
// copy everything else, thats not the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'META-INF/mods.toml'
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
@ -35,23 +35,13 @@ dependencies {
|
||||
|
||||
processResources
|
||||
{
|
||||
inputs.property "version", project.version + '-' + project.ext.buildNumber
|
||||
|
||||
// replace stuff in mcmod.info, nothing else
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'META-INF/mods.toml'
|
||||
|
||||
filesMatching('mods.toml') {
|
||||
// replace version and mcversion
|
||||
expand(
|
||||
version: project.version + '-' + project.ext.buildNumber,
|
||||
mcversion: "1.16.1"
|
||||
)
|
||||
}
|
||||
|
||||
// copy everything else, thats not the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'META-INF/mods.toml'
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
@ -35,23 +35,13 @@ dependencies {
|
||||
|
||||
processResources
|
||||
{
|
||||
inputs.property "version", project.version + '-' + project.ext.buildNumber
|
||||
|
||||
// replace stuff in mcmod.info, nothing else
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'META-INF/mods.toml'
|
||||
|
||||
filesMatching('mods.toml') {
|
||||
// replace version and mcversion
|
||||
expand(
|
||||
version: project.version + '-' + project.ext.buildNumber,
|
||||
mcversion: "1.16.2"
|
||||
)
|
||||
}
|
||||
|
||||
// copy everything else, thats not the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'META-INF/mods.toml'
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
@ -35,23 +35,13 @@ dependencies {
|
||||
|
||||
processResources
|
||||
{
|
||||
inputs.property "version", project.version + '-' + project.ext.buildNumber
|
||||
|
||||
// replace stuff in mcmod.info, nothing else
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'META-INF/mods.toml'
|
||||
|
||||
filesMatching('mods.toml') {
|
||||
// replace version and mcversion
|
||||
expand(
|
||||
version: project.version + '-' + project.ext.buildNumber,
|
||||
mcversion: "1.16.3"
|
||||
)
|
||||
}
|
||||
|
||||
// copy everything else, thats not the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'META-INF/mods.toml'
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
@ -35,23 +35,13 @@ dependencies {
|
||||
|
||||
processResources
|
||||
{
|
||||
inputs.property "version", project.version + '-' + project.ext.buildNumber
|
||||
|
||||
// replace stuff in mcmod.info, nothing else
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'META-INF/mods.toml'
|
||||
|
||||
filesMatching('mods.toml') {
|
||||
// replace version and mcversion
|
||||
expand(
|
||||
version: project.version + '-' + project.ext.buildNumber,
|
||||
mcversion: "1.16.4"
|
||||
)
|
||||
}
|
||||
|
||||
// copy everything else, thats not the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'META-INF/mods.toml'
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
@ -35,23 +35,13 @@ dependencies {
|
||||
|
||||
processResources
|
||||
{
|
||||
inputs.property "version", project.version + '-' + project.ext.buildNumber
|
||||
|
||||
// replace stuff in mcmod.info, nothing else
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'META-INF/mods.toml'
|
||||
|
||||
filesMatching('mods.toml') {
|
||||
// replace version and mcversion
|
||||
expand(
|
||||
version: project.version + '-' + project.ext.buildNumber,
|
||||
mcversion: "1.16.5"
|
||||
)
|
||||
}
|
||||
|
||||
// copy everything else, thats not the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'META-INF/mods.toml'
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
Loading…
Reference in New Issue
Block a user