External Publication
Visit Post

Troubleshooting a failing build (suss.json found usual suspect 'org.gradle.toolchains.foojay-resolver')

F-Droid Forum [Unofficial] June 3, 2026
Source

Greetings all,

I’ve been struggling with an odd issue regarding the build task of the fdroiddata Pipeline. I’ve been searching for solutions since yesterday morning, but haven’t found anything remotely relevant to what I’m experiencing outside of another post on this forum.

In my case, the issue seems to be due to a Gradle tool that was included in the settings.gradle.kts file when initially configuring the project, as per the task log:

2026-06-03 08:19:01,943 INFO: Scanning source for common problems...

2026-06-03 08:19:01,950 DEBUG: scanner is configured to use signature data from: 'suss'

2026-06-03 08:19:01,950 DEBUG: downloading 'https://fdroid.gitlab.io/fdroid-suss/suss.json`'`

2026-06-03 08:19:02,084 DEBUG: write 'suss.json' to cache

2026-06-03 08:19:02,084 DEBUG: next suss.json cache update due in 23:59:59.997810

2026-06-03 08:19:02,109 ERROR: Found usual suspect 'org.gradle.toolchains.foojay-resolver' at settings.gradle.kts

2026-06-03 08:19:02,115 INFO: Removing gradle-daemon-jvm.properties at gradle/gradle-daemon-jvm.properties

2026-06-03 08:19:02,116 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar

2026-06-03 08:19:02,121 ERROR: Could not build app com.algol.obliquestrategies: Can't build due to 1 error while scanning

2026-06-03 08:19:02,121 DEBUG: Error encountered, stopping by user request.

I did indeed immediately check my settings file, finding the code in there, which I promptly removed:

plugins {
        id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
}

However, even after removing this code I’ve been getting the same exact error message on each successive attempt. The gradle-daemon-jvm.properties file also contained some references to this foojay-resolver tool, so I removed the file from git tracking and later deleted the file from the project altogether. I’ve searched all other Gradle-related files in the project, finding nothing. Furthermore I double-checked the plugins from the Android Studio configuration of the project, and yet again couldn’t find anything there.

The most confounding thing is that the issue persists even after completely deleting my clone of the fdroiddata repo (both locally and remotely), making a new fork of it and trying again from scratch. Online searches have been rather fruitless.

Any assistance, even the slightest nudge in the right direction would be most appreciated, thanks in advance.

Discussion in the ATmosphere

Loading comments...