1/* 2 * Copyright 2017-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 5gradle.taskGraph.whenReady { 6 println("Using Kotlin compiler version: $compilerVersion") 7 if (build_snapshot_train) { 8 configure(subprojects.findAll { it.name == "core" }) { 9 configurations.matching { it.name == "kotlinCompilerClasspath" }.all { 10 println "Manifest of kotlin-compiler-embeddable.jar for serialization" 11 resolvedConfiguration.getFiles().findAll { it.name.contains("kotlin-compiler-embeddable") }.each { 12 def manifest = zipTree(it).matching { 13 include 'META-INF/MANIFEST.MF' 14 }.getFiles().first() 15 16 manifest.readLines().each { 17 println it 18 } 19 } 20 } 21 } 22 } 23} 24