Skip to content

Instantly share code, notes, and snippets.

@fghiggi
fghiggi / gist:eb6e9672582f1cabded8ba9e71164a5d
Created October 2, 2025 13:59
Lists all release .so files and their origin (AAR/project)
import java.util.zip.ZipFile
import org.gradle.api.attributes.Attribute
tasks.register("listSOsRelease") {
description = "Lists all release .so files and their origin (AAR/project)"
group = "diagnostics"
doLast {
def cfg = configurations.findByName("releaseRuntimeClasspath")
if (cfg == null) throw new GradleException("Configuration releaseRuntimeClasspath not found")