Skip to content

Commit 92a9f34

Browse files
committed
Fix publishMultiProjectShadowJarWithMavenPublishPlugin
1 parent 77a63c6 commit 92a9f34

File tree

1 file changed

+10
-10
lines changed
  • src/functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow

1 file changed

+10
-10
lines changed

src/functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow/PublishingTest.kt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,16 @@ class PublishingTest : BasePluginTest() {
8787
include 'a', 'b', 'c'
8888
""".trimIndent(),
8989
)
90-
projectScriptPath.writeText(
91-
"""
92-
subprojects {
93-
apply plugin: 'java'
94-
apply plugin: 'maven-publish'
95-
version = '1.0'
96-
group = 'shadow'
97-
}
98-
""".trimIndent(),
99-
)
90+
projectScriptPath.writeText("")
91+
val subProjectCommon = """
92+
plugins {
93+
id 'java'
94+
}
95+
version = '1.0'
96+
group = 'shadow'
97+
""".trimIndent()
98+
path("a/build.gradle").writeText(subProjectCommon)
99+
path("b/build.gradle").writeText(subProjectCommon)
100100

101101
path("a/src/main/resources/aa.properties").writeText("aa")
102102
path("a/src/main/resources/aa2.properties").writeText("aa2")

0 commit comments

Comments
 (0)