Extract members from Kotlin tasks, don't iterate over them (KT-31713)

Refactor: move some properties from the Kotlin tasks to the
new task data model, so they can be accessed without forcing the
tasks to instantiate.

Don't iterate over Kotlin tasks of all projects in the IC-related code;
instead, inspect the model.

Issue #KT-31713 Fixed
This commit is contained in:
Sergey Igushkin
2019-07-12 18:37:34 +03:00
parent 80fa591f10
commit cbb8bf2deb
12 changed files with 216 additions and 87 deletions
@@ -21,7 +21,7 @@ import org.junit.Assume
sealed class GradleVersionRequired(val minVersion: String, val maxVersion: String?) {
companion object {
const val OLDEST_SUPPORTED = "4.1"
const val OLDEST_SUPPORTED = "4.3"
}
class Exact(version: String) : GradleVersionRequired(version, version)