GP-0: Fixing Gradle deprecations

This commit is contained in:
Ryan Kurtz
2026-09-25 05:25:08 -04:00
parent ffbc5acf0f
commit c427352201
12 changed files with 24 additions and 24 deletions

View File

@@ -35,13 +35,13 @@ if ("win_x86_64".equals(rootProject.getCurrentPlatformName())) {
doFirst {
file("build/os/win_x86_64").mkdirs()
def windowsTargetPlatformVersion = VISUAL_STUDIO_SDK_VERSION_OVERRIDE ?: VISUAL_STUDIO_SDK_VERSION_DEFAULT
def windowsTargetPlatformVersion = rootProject.VISUAL_STUDIO_SDK_VERSION_OVERRIDE ?: rootProject.VISUAL_STUDIO_SDK_VERSION_DEFAULT
def msbuildCmd = "msbuild ${solutionPathWindows} /p:Configuration=Release /p:WindowsTargetPlatformVersion=${windowsTargetPlatformVersion}"
println "Executing: " + msbuildCmd
new File(solutionBatchFilePath).withWriter { out ->
out.println "call " + VISUAL_STUDIO_VCVARS_CMD
out.println "call " + rootProject.VISUAL_STUDIO_VCVARS_CMD
out.println msbuildCmd
}
}