We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 611bc04 commit d323bc7Copy full SHA for d323bc7
nebula-archrules-gradle-plugin/build.gradle.kts
@@ -33,8 +33,8 @@ java {
33
}
34
35
testing {
36
- suites{
37
- named<JvmTestSuite>("test"){
+ suites {
+ named<JvmTestSuite>("test") {
38
useJUnitJupiter()
39
targets.all {
40
testTask.configure {
@@ -47,3 +47,14 @@ testing {
47
dependencyLocking {
48
lockAllConfigurations()
49
50
+configurations.named("testArchRulesRuntime").configure {
51
+ resolutionStrategy.dependencySubstitution {
52
+ // workaround for classpath issue
53
+ all {
54
+ val requestedProject = requested
55
+ if (requestedProject is ProjectComponentSelector) {
56
+ useTarget("com.netflix.nebula" + requestedProject.projectPath + ":0.3.0")
57
+ }
58
59
60
+}
0 commit comments