Skip to content

Commit

Permalink
Fix publishMultiProjectShadowJarWithMavenPublishPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Jan 10, 2025
1 parent 2998d4d commit 84b22a0
Showing 1 changed file with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,15 @@ class PublishingTest : BasePluginTest() {
include 'a', 'b', 'c'
""".trimIndent(),
)
projectScriptPath.writeText(
"""
subprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'
version = '1.0'
group = 'shadow'
}
""".trimIndent(),
)
val subProjectCommon = """
plugins {
id 'java'
}
version = '1.0'
group = 'shadow'
""".trimIndent()
path("a/build.gradle").writeText(subProjectCommon)
path("b/build.gradle").writeText(subProjectCommon)

path("a/src/main/resources/aa.properties").writeText("aa")
path("a/src/main/resources/aa2.properties").writeText("aa2")
Expand Down

0 comments on commit 84b22a0

Please sign in to comment.