You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* To enable affected module detection, you need to pass [ENABLE_ARG]
34
+
* To enable affected module detection, you need to pass [com.dropbox.affectedmoduledetector.AffectedModuleDetector.Companion.ENABLE_ARG]
35
35
* into the build as a command line parameter.
36
36
*
37
37
* See [AffectedModuleDetector] for additional flags.
@@ -125,7 +125,6 @@ class AffectedModuleDetectorPlugin : Plugin<Project> {
125
125
)
126
126
}
127
127
128
-
@Suppress("UnstableApiUsage")
129
128
@VisibleForTesting
130
129
internalfunregisterInternalTask(
131
130
rootProject:Project,
@@ -151,6 +150,7 @@ class AffectedModuleDetectorPlugin : Plugin<Project> {
151
150
}
152
151
}
153
152
153
+
@Suppress("UnstableApiUsage")
154
154
privatefundisableConfigCache(task:Task) {
155
155
if (GradleVersion.current() >=GradleVersion.version("7.4")) {
156
156
task.notCompatibleWithConfigurationCache("AMD requires knowledge of what has changed in the file system so we can not cache those values (https://github.com/dropbox/AffectedModuleDetector/issues/150)")
@@ -172,16 +172,16 @@ class AffectedModuleDetectorPlugin : Plugin<Project> {
172
172
project.pluginManager.withPlugin(pluginId) {
173
173
getAffectedPath(testType, project)?.let { path ->
174
174
val pathOrNull = project.tasks.findByPath(path)
175
-
if (AffectedModuleDetector.isProjectProvided(project) &&!isExcludedModule(config, path) && pathOrNull !=null) {
Copy file name to clipboardExpand all lines: affectedmoduledetector/src/test/kotlin/com/dropbox/affectedmoduledetector/AffectedModuleDetectorIntegrationTest.kt
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,9 @@ class AffectedModuleDetectorIntegrationTest {
0 commit comments