File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
modules/maven-central-publish-gradle-plugin/src/test/groovy/tests/publishing Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,13 @@ class StubSetupTask {
1616 project. getPluginManager(). apply(PublishingStubsSetupPlugin . class)
1717
1818 Project nestedProject = ProjectBuilder . builder(). withParent(project). build()
19+ nestedProject. getPluginManager(). apply(PublishingStubsSetupPlugin . class)
1920
20- Assertions . assertNotNull (project. tasks. findByName(' createMavenPublishingDummyStubJavadoc' ))
21+ Assertions . assertNull (project. tasks. findByName(' createMavenPublishingDummyStubJavadoc' ))
2122 Assertions . assertNull (nestedProject. tasks. findByName(' createMavenPublishingDummyStubJavadoc' ))
23+
24+ nestedProject. pluginManager. apply(' java' )
25+ Assertions . assertNotNull (nestedProject. tasks. findByName(' createMavenPublishingDummyStubJavadoc' ))
2226 }
2327
2428 @Nested
@@ -33,6 +37,7 @@ include(':nested')
3337"""
3438 Files . createDirectories(projectDir. resolve(' nested' )). resolve(' build.gradle' ) << """
3539apply plugin: moe.karla.maven.publishing.PublishingStubsSetupPlugin
40+ apply plugin: 'java'
3641"""
3742
3843
You can’t perform that action at this time.
0 commit comments