Skip to content

Commit 4f49ba3

Browse files
committed
Apply excludedTaskNames in the testmod subproject rather than globally
1 parent 7e53a8b commit 4f49ba3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fabric/testmod/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ processResources {
4040
}
4141
}
4242

43+
// Make genSources do nothing in this project
44+
project.gradle.startParameter.excludedTaskNames.add("genSources")

settings.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ include("annotations")
1919
include("test_agent")
2020
include("common")
2121

22-
startParameter.excludedTaskNames.add(':fabric:testmod:genSources')
23-
2422
def current_platforms = getProperty("enabled_platforms").tokenize(',')
2523
current_platforms.each { it ->
2624
def platform_name = it.trim()

0 commit comments

Comments
 (0)