Skip to content

Commit 9348a7b

Browse files
committed
Fix publishMultiProjectShadowJar
1 parent f3bcf04 commit 9348a7b

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
@@ -239,16 +239,16 @@ class PublishingTest : BasePluginTest() {
239239
include 'a', 'b', 'c'
240240
""".trimIndent(),
241241
)
242-
projectScriptPath.writeText(
243-
"""
244-
subprojects {
245-
apply plugin: 'java'
246-
apply plugin: 'maven-publish'
247-
version = '1.0'
248-
group = 'my'
249-
}
250-
""".trimIndent(),
251-
)
242+
projectScriptPath.writeText("")
243+
val subProjectCommon = """
244+
plugins {
245+
id 'java'
246+
}
247+
version = '1.0'
248+
group = 'my'
249+
""".trimIndent()
250+
path("a/build.gradle").writeText(subProjectCommon)
251+
path("b/build.gradle").writeText(subProjectCommon)
252252

253253
path("a/src/main/resources/aa.properties").writeText("aa")
254254
path("a/src/main/resources/aa2.properties").writeText("aa2")

0 commit comments

Comments
 (0)