File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
nebula-archrules-gradle-plugin Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 3333 }
3434}
3535testing {
36- suites{
37- named<JvmTestSuite >(" test" ){
36+ suites {
37+ named<JvmTestSuite >(" test" ) {
3838 useJUnitJupiter()
3939 targets.all {
4040 testTask.configure {
@@ -47,3 +47,18 @@ testing {
4747dependencyLocking {
4848 lockAllConfigurations()
4949}
50+ configurations.named(" testImplementation" ) {
51+
52+ // extendsFrom(configurations.getByName("archRules"))
53+ }
54+ configurations.named(" testArchRulesRuntime" ).configure {
55+ resolutionStrategy.dependencySubstitution {
56+ // workaround for classpath issue
57+ all {
58+ val requestedProject = requested
59+ if (requestedProject is ProjectComponentSelector ) {
60+ useTarget(" com.netflix.nebula" + requestedProject.projectPath + " :0.3.0" )
61+ }
62+ }
63+ }
64+ }
You can’t perform that action at this time.
0 commit comments