From 03dcae50102a0babf164c72bce27f61b49d295d1 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Wed, 11 Oct 2017 19:09:36 +0300 Subject: [PATCH] Attach method counting tasks to check rather than assemble stage --- libraries/stdlib/build.gradle | 2 +- libraries/tools/kotlin-reflect/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/stdlib/build.gradle b/libraries/stdlib/build.gradle index 58d7390e0d2..9bceeb3eb17 100644 --- a/libraries/stdlib/build.gradle +++ b/libraries/stdlib/build.gradle @@ -113,7 +113,7 @@ task dexMethodCount(type: DexMethodCount) { from jar ownPackages = ['kotlin'] } -assemble.dependsOn(dexMethodCount) +check.dependsOn(dexMethodCount) compileBuiltinsKotlin { dependsOn ":core:builtins:serialize" diff --git a/libraries/tools/kotlin-reflect/build.gradle b/libraries/tools/kotlin-reflect/build.gradle index 14d48818d6e..52eb68f2ca3 100644 --- a/libraries/tools/kotlin-reflect/build.gradle +++ b/libraries/tools/kotlin-reflect/build.gradle @@ -175,7 +175,7 @@ task dexMethodCount(type: DexMethodCount) { jarFile = artifactJar.file ownPackages = ['kotlin.reflect'] } -assemble.dependsOn(dexMethodCount) +check.dependsOn(dexMethodCount) artifacts { mainJar artifactJar