Skip to content

Commit 5fb43b6

Browse files
committed
Update build.gradle.kts
1 parent 8b0cdaf commit 5fb43b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

java/gradle/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ publishing{
4444
}
4545
}
4646
}
47-
47+
// Grab the group before running tests, since the group is used in the test configuration and may be modified by the publishing configuration
48+
val testGroup = group.toString()
4849
tasks.withType<Test>().configureEach {
49-
systemProperty("project.group", group ?: "org.processing")
50+
systemProperty("project.group", testGroup)
5051
}

0 commit comments

Comments
 (0)