1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Forgot to add these contributors.

This commit is contained in:
Cedric Beust 2016-05-06 01:41:10 -08:00
parent 899ea666ea
commit 73cf2a9ab6

View file

@ -176,8 +176,17 @@ class PluginInfo(val xml: KobaltPluginXml, val pluginClassLoader: ClassLoader?,
if (this is IIncrementalAssemblyContributor) incrementalAssemblyContributors.add(this) if (this is IIncrementalAssemblyContributor) incrementalAssemblyContributors.add(this)
// Not documented yet // Not documented yet
if (this is ITestJvmFlagContributor) testJvmFlagContributors.add(this) if (this is ITestJvmFlagContributor) {
println("ADDING CONTRIBUTOR $this")
testJvmFlagContributors.add(this)
}
if (this is ITestJvmFlagInterceptor) testJvmFlagInterceptors.add(this) if (this is ITestJvmFlagInterceptor) testJvmFlagInterceptors.add(this)
if (it.contains("CoverageAgent")) {
val rec = this
println("IS: " + (rec is ITestJvmFlagContributor))
println("DONOTCOMMIT")
}
} }
} }
} }
@ -199,7 +208,7 @@ class PluginInfo(val xml: KobaltPluginXml, val pluginClassLoader: ClassLoader?,
} }
/** /**
* Populate pluginInfo with what was found in the plug-in's kobalt-plugin.xml * Add the content of @param[pluginInfo] to this pluginInfo.
*/ */
fun addPluginInfo(pluginInfo: PluginInfo) { fun addPluginInfo(pluginInfo: PluginInfo) {
log(2, "Found new plug-in, adding it to pluginInfo: $pluginInfo") log(2, "Found new plug-in, adding it to pluginInfo: $pluginInfo")
@ -226,6 +235,7 @@ class PluginInfo(val xml: KobaltPluginXml, val pluginClassLoader: ClassLoader?,
buildConfigContributors.addAll(pluginInfo.buildConfigContributors) buildConfigContributors.addAll(pluginInfo.buildConfigContributors)
assemblyContributors.addAll(pluginInfo.assemblyContributors) assemblyContributors.addAll(pluginInfo.assemblyContributors)
incrementalAssemblyContributors.addAll(pluginInfo.incrementalAssemblyContributors) incrementalAssemblyContributors.addAll(pluginInfo.incrementalAssemblyContributors)
testJvmFlagContributors.addAll(pluginInfo.testJvmFlagContributors)
testJvmFlagInterceptors.addAll(pluginInfo.testJvmFlagInterceptors) testJvmFlagInterceptors.addAll(pluginInfo.testJvmFlagInterceptors)
} }
} }