I am taking the element from the itemList and passing it to below function when Type is Normal.It should take first element and then tag all the repos one by one and go for next element and tag all repos. The problem here is it is tagging only the repo with the last element of the itemList.Could you please let me know how could I fix this?
itemList = "abc,def"
Type.Normal -> {
findProperty("itemList")?.let {
it.toString().split(",").forEach { module ->
tasks.withType<SomeKotlinTagTask>().configureEach {
p.set("$test ${project.test.testVersion}")
p.set(repo.br)
}
}
}
}