Skip to content

Commit a83b9fe

Browse files
ThadHouseJaciBrunning
authored andcommittedDec 19, 2018
Add support for debugging external artifacts (#262)
Closes #259
1 parent c6c9047 commit a83b9fe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/main/groovy/edu/wpi/first/gradlerio/frc/DebugInfoTask.groovy

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import org.gradle.api.tasks.TaskAction
99
@CompileStatic
1010
class DebugInfoTask extends DefaultTask {
1111

12+
List<Closure> extraArtifacts = []
13+
1214
@TaskAction
1315
void writeDebugInfo() {
1416
def cfg = []
@@ -33,6 +35,10 @@ class DebugInfoTask extends DefaultTask {
3335
language: "cpp"
3436
]
3537
}
38+
} else {
39+
extraArtifacts.each { Closure toCall
40+
toCall(art, cfg)
41+
}
3642
}
3743
}
3844

0 commit comments

Comments
 (0)