Add info about -Pteamcity to readme and make warning less annoying

This commit is contained in:
Vyacheslav Gerasimov
2020-07-21 18:00:23 +03:00
parent a4457ba7ac
commit d36d62e226
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -86,6 +86,8 @@ command line parameters on the first run:
- `compilerTest` - build and run all compiler tests
- `ideaPluginTest` - build and run all IDEA plugin tests
To reproduce TeamCity build use `-Pteamcity=true` flag. Local builds don't run proguard and have jar compression disabled by default.
**OPTIONAL:** Some artifacts, mainly Maven plugin ones, are built separately with Maven.
Refer to [libraries/ReadMe.md](libraries/ReadMe.md) for details.
+1 -1
View File
@@ -522,7 +522,7 @@ gradle.taskGraph.whenReady {
val profileMessage = "$profile build profile is active ($proguardMessage, $jarCompressionMessage). " +
"Use -Pteamcity=<true|false> to reproduce CI/local build"
logger.warn("\n${"☠".repeat(profileMessage.length)}\n$profileMessage\n${"☠".repeat(profileMessage.length)}\n")
logger.warn("\n\n$profileMessage")
allTasks.filterIsInstance<org.gradle.jvm.tasks.Jar>().forEach { task ->
task.entryCompression = if (kotlinBuildProperties.jarCompression)