Skip to content

Commit 1837412

Browse files
committed
Print manifest of Kotlin compiler during snapshot builds
1 parent dbe3f48 commit 1837412

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

build.gradle

+17-1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,23 @@ if (build_snapshot_train) {
143143
exclude '**/*StressTest*'
144144
exclude '**/*scheduling*'
145145
exclude '**/*Timeout*'
146+
exclude '**/*DebugProbesTest*' // Unmute after 1.3.31 where inlining was fixed
147+
exclude '**/*CoroutinesDumpTest*'
148+
}
149+
}
150+
151+
println "Manifest of kotlin-compiler-embeddable.jar for coroutines"
152+
configure(subprojects.findAll { it.name == "kotlinx-coroutines-core" }) {
153+
configurations.matching { it.name == "kotlinCompilerClasspath" }.all {
154+
resolvedConfiguration.getFiles().findAll { it.name.contains("kotlin-compiler-embeddable") }.each {
155+
def manifest = zipTree(it).matching {
156+
include 'META-INF/MANIFEST.MF'
157+
}.getFiles().first()
158+
159+
manifest.readLines().each {
160+
println it
161+
}
162+
}
146163
}
147164
}
148165
}
@@ -197,7 +214,6 @@ configure(subprojects.findAll { !unpublished.contains(it.name) }) {
197214
}
198215
}
199216

200-
201217
// Report Kotlin compiler version when building project
202218
println("Using Kotlin compiler version: $org.jetbrains.kotlin.config.KotlinCompilerVersion.VERSION")
203219

0 commit comments

Comments
 (0)