File tree Expand file tree Collapse file tree 2 files changed +10
-13
lines changed
plugins/project/src/main/kotlin Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ apply(plugin = "dev.suresh.plugin.depreports")
3434// Load the build script from a file
3535// apply(from = rootDir.resolve("project.plugin.gradle.kts"))
3636
37+ configurations.configureEach {
38+ resolutionStrategy {
39+ failOnNonReproducibleResolution()
40+ // eachDependency { if (requested.name.contains("intellij-coverage")) {
41+ // useVersion(libs.versions.intellij.coverage.get()) }}
42+ }
43+ }
44+
3745java {
3846 withSourcesJar()
3947 withJavadocJar()
@@ -289,16 +297,3 @@ dependencies {
289297 testImplementation(libs.mockk)
290298 // testImplementation(libs.slf4j.simple)
291299}
292-
293- allprojects {
294- configurations.configureEach {
295- resolutionStrategy {
296- // force()
297- eachDependency {
298- if (requested.name.contains(" intellij-coverage" )) {
299- // useVersion(libs.versions.intellij.coverage.get())
300- }
301- }
302- }
303- }
304- }
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ plugins {
3333 // dev.mokkery
3434}
3535
36+ configurations.configureEach { resolutionStrategy { failOnNonReproducibleResolution() } }
37+
3638kotlin {
3739 commonTarget(project)
3840 when (project.name) {
You can’t perform that action at this time.
0 commit comments