Skip to content

Commit

Permalink
Print manifest of Kotlin compiler during snapshot builds
Browse files Browse the repository at this point in the history
  • Loading branch information
qwwdfsad committed Apr 18, 2019
1 parent dbe3f48 commit 1748ce1
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,23 @@ if (build_snapshot_train) {
exclude '**/*StressTest*'
exclude '**/*scheduling*'
exclude '**/*Timeout*'
exclude '**/*coroutines/debug*' // Unmute after 1.3.31 where inlining was fixed
exclude '**/*definitely/not/kotlinx*'
}
}

println "Manifest of kotlin-compiler-embeddable.jar for coroutines"
configure(subprojects.findAll { it.name == "kotlinx-coroutines-core" }) {
configurations.matching { it.name == "kotlinCompilerClasspath" }.all {
resolvedConfiguration.getFiles().findAll { it.name.contains("kotlin-compiler-embeddable") }.each {
def manifest = zipTree(it).matching {
include 'META-INF/MANIFEST.MF'
}.getFiles().first()

manifest.readLines().each {
println it
}
}
}
}
}
Expand Down Expand Up @@ -197,7 +214,6 @@ configure(subprojects.findAll { !unpublished.contains(it.name) }) {
}
}


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

Expand Down

0 comments on commit 1748ce1

Please sign in to comment.