From a2a40b56d19d60198d6ab127de27d7de3914583a Mon Sep 17 00:00:00 2001 From: Thad House Date: Sat, 31 Jan 2026 16:36:41 -0800 Subject: [PATCH] [bazel, gradle] Fix deprecation warnings for gradle 10 and Bazel build (#8597) --- .github/workflows/bazel.yml | 2 +- glass/publish.gradle | 2 +- tools/datalogtool/publish.gradle | 2 +- tools/outlineviewer/publish.gradle | 2 +- tools/wpical/publish.gradle | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index 138356b82e..83b61a1485 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -73,7 +73,7 @@ jobs: - name: Install apt dependencies if: matrix.os == 'ubuntu-24.04' - run: sudo apt-get install -y libgl1-mesa-dev libx11-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev + run: sudo apt-get update && sudo apt-get install -y libgl1-mesa-dev libx11-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev - if: matrix.os == 'ubuntu-24.04' uses: bazel-contrib/setup-bazel@0.15.0 diff --git a/glass/publish.gradle b/glass/publish.gradle index 46349e815a..f023ac2170 100644 --- a/glass/publish.gradle +++ b/glass/publish.gradle @@ -110,7 +110,7 @@ model { if (binary.targetPlatform.operatingSystem.isMacOsX()) { // Create the macOS bundle. def bundleTask = project.tasks.create("bundleGlassOsxApp" + binary.targetPlatform.architecture.name, Copy) { - description("Creates a macOS application bundle for Glass") + description = "Creates a macOS application bundle for Glass" from(file("$project.projectDir/Info.plist")) into(file("$project.buildDir/outputs/bundles/$binary.targetPlatform.architecture.name/Glass.app/Contents")) into("MacOS") { diff --git a/tools/datalogtool/publish.gradle b/tools/datalogtool/publish.gradle index bf073395a7..43946eed9c 100644 --- a/tools/datalogtool/publish.gradle +++ b/tools/datalogtool/publish.gradle @@ -55,7 +55,7 @@ model { if (binary.targetPlatform.operatingSystem.isMacOsX()) { // Create the macOS bundle. def bundleTask = project.tasks.create("bundleDataLogToolOsxApp" + binary.targetPlatform.architecture.name, Copy) { - description("Creates a macOS application bundle for DataLogTool") + description = "Creates a macOS application bundle for DataLogTool" from(file("$project.projectDir/Info.plist")) into(file("$project.buildDir/outputs/bundles/$binary.targetPlatform.architecture.name/DataLogTool.app/Contents")) into("MacOS") { diff --git a/tools/outlineviewer/publish.gradle b/tools/outlineviewer/publish.gradle index 0fe289d4b8..442f94bb4a 100644 --- a/tools/outlineviewer/publish.gradle +++ b/tools/outlineviewer/publish.gradle @@ -55,7 +55,7 @@ model { if (binary.targetPlatform.operatingSystem.isMacOsX()) { // Create the macOS bundle. def bundleTask = project.tasks.create("bundleOutlineViewerOsxApp" + binary.targetPlatform.architecture.name, Copy) { - description("Creates a macOS application bundle for OutlineViewer") + description = "Creates a macOS application bundle for OutlineViewer" from(file("$project.projectDir/Info.plist")) into(file("$project.buildDir/outputs/bundles/$binary.targetPlatform.architecture.name/OutlineViewer.app/Contents")) into("MacOS") { diff --git a/tools/wpical/publish.gradle b/tools/wpical/publish.gradle index ee88bf2345..f338c3e94b 100644 --- a/tools/wpical/publish.gradle +++ b/tools/wpical/publish.gradle @@ -59,7 +59,7 @@ model { if (binary.targetPlatform.operatingSystem.isMacOsX()) { // Create the macOS bundle. def bundleTask = project.tasks.create("bundlewpicalOsxApp" + binary.targetPlatform.architecture.name, Copy) { - description("Creates a macOS application bundle for wpical") + description = "Creates a macOS application bundle for wpical" from(file("$project.projectDir/Info.plist")) into(file("$project.buildDir/outputs/bundles/$binary.targetPlatform.architecture.name/wpical.app/Contents")) into("MacOS") {