Skip to content

Commit 4a13d58

Browse files
authored
Apply "configure-compilation-conventions" script earlier (#3488)
1 parent 02bf356 commit 4a13d58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ def configureKotlinJvmPlatform(configuration) {
7676
configuration.attributes.attribute(KotlinPlatformType.attribute, KotlinPlatformType.jvm)
7777
}
7878

79+
// Configure subprojects with Kotlin sources
80+
apply plugin: "configure-compilation-conventions"
81+
7982
allprojects {
8083
// the only place where HostManager could be instantiated
8184
project.ext.hostManager = new HostManager()
@@ -167,9 +170,6 @@ configure(subprojects.findAll { !sourceless.contains(it.name) && it.name != core
167170

168171
apply plugin: "bom-conventions"
169172

170-
// Configure subprojects with Kotlin sources
171-
apply plugin: "configure-compilation-conventions"
172-
173173
if (build_snapshot_train) {
174174
println "Hacking test tasks, removing stress and flaky tests"
175175
allprojects {

0 commit comments

Comments
 (0)