Fix property substitution

This commit is contained in:
Fury_Phoenix 2023-12-14 14:16:34 -08:00
parent 94e9c63abd
commit 542ae3e979
No known key found for this signature in database
GPG Key ID: 0595F98084987DB8
4 changed files with 11 additions and 4 deletions

View File

@ -1,5 +1,5 @@
plugins { plugins {
id "com.github.johnrengelman.shadow" version "${rootProject.shadow_version}" id "com.github.johnrengelman.shadow"
id 'java-library' id 'java-library'
id 'com.diffplug.spotless' id 'com.diffplug.spotless'
} }
@ -41,4 +41,4 @@ spotless {
removeUnusedImports() removeUnusedImports()
} }
} }
version = '1.1.1' version = '1.1.2'

View File

@ -1,5 +1,5 @@
plugins { plugins {
id "com.github.johnrengelman.shadow" version "${rootProject.shadow_version}" id "com.github.johnrengelman.shadow"
id 'com.adarshr.test-logger' version '3.2.0' id 'com.adarshr.test-logger' version '3.2.0'
id "modernfix.mod-common-conventions" id "modernfix.mod-common-conventions"
id "modernfix.platform-conventions" id "modernfix.platform-conventions"

View File

@ -1,5 +1,5 @@
plugins { plugins {
id "com.github.johnrengelman.shadow" version "${rootProject.shadow_version}" id "com.github.johnrengelman.shadow"
id "modernfix.mod-common-conventions" id "modernfix.mod-common-conventions"
id "modernfix.platform-conventions" id "modernfix.platform-conventions"
} }

View File

@ -5,6 +5,13 @@ pluginManagement {
maven { url "https://maven.architectury.dev/" } maven { url "https://maven.architectury.dev/" }
maven { url "https://maven.minecraftforge.net/" } maven { url "https://maven.minecraftforge.net/" }
} }
resolutionStrategy {
eachPlugin {
if (requested.id.id == "com.github.johnrengelman.shadow") {
useModule("gradle.plugin.com.github.johnrengelman:shadow:${shadow_version}")
}
}
}
} }
include("annotation-processor") include("annotation-processor")