Skip to content

Commit 3316116

Browse files
committed
Add missing @Inject annotation to Gradle task constructor
1 parent 8ebda0c commit 3316116

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gradle/plugins/publishing/src/main/kotlin/junitbuild/release/VerifyBinaryArtifactsAreIdentical.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ import java.net.URI
1616
import java.net.http.HttpClient
1717
import java.net.http.HttpRequest
1818
import java.net.http.HttpResponse.BodyHandlers
19+
import javax.inject.Inject
1920

20-
abstract class VerifyBinaryArtifactsAreIdentical(providers: ProviderFactory) : DefaultTask() {
21+
abstract class VerifyBinaryArtifactsAreIdentical @Inject constructor(providers: ProviderFactory): DefaultTask() {
2122

2223
@get:InputDirectory
2324
@get:PathSensitive(PathSensitivity.RELATIVE)

0 commit comments

Comments
 (0)