I have what I'm going to call a Gradle puzzler for...
# community-support
c
I have what I'm going to call a Gradle puzzler for everyone (Gradle 9.4.1 - but I don't think it matters):
Copy code
$ cat build.gradle.kts
plugins {
    java
}

configurations {
    runtimeClasspath {
        resolutionStrategy.activateDependencyLocking()
    }
}

repositories {
    mavenCentral()
}

dependencies {
    implementation("org.slf4j:slf4j-api:2.0.17")
}
$ cat gradle.lockfile
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
org.slf4j:slf4j-api:2.0.16=runtimeClasspath
empty=
Can anyone tell me what the lockfile should look like after running:
Copy code
./gradlew dependencies --update-locks com.example:missing
Edit: this is really just a roundabout way of saying
--update-locks
is broken