From 86c3024a26bc93aa06b72d0f7a4d102db010d7ee Mon Sep 17 00:00:00 2001 From: Wiktor Date: Wed, 23 Jul 2025 03:40:41 +0200 Subject: [PATCH] fix(build): resolve repository and dependency issues - Change repositoriesMode from FAIL_ON_PROJECT_REPOS to PREFER_SETTINGS - Remove 'time' from pip install (it's a built-in Python module) - Fixes workflow failures caused by repository configuration Made by Wiktor/overspend1 --- .github/workflows/performance-test.yml | 2 +- settings.gradle.kts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/performance-test.yml b/.github/workflows/performance-test.yml index a43543e..af5fe43 100644 --- a/.github/workflows/performance-test.yml +++ b/.github/workflows/performance-test.yml @@ -218,7 +218,7 @@ jobs: - name: Install ML dependencies run: | python -m pip install --upgrade pip - pip install scikit-learn pandas numpy time + pip install scikit-learn pandas numpy - name: Run ML inference performance test run: | diff --git a/settings.gradle.kts b/settings.gradle.kts index 29ef3ad..ea954ae 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -7,10 +7,11 @@ pluginManagement { } } dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) repositories { google() mavenCentral() + gradlePluginPortal() } }