Chris
05/13/2026, 5:10 PM$ 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:
./gradlew dependencies --update-locks com.example:missing
Edit: this is really just a roundabout way of saying --update-locks is broken