Add info about -Pteamcity to readme and make warning less annoying
This commit is contained in:
@@ -86,6 +86,8 @@ command line parameters on the first run:
|
|||||||
- `compilerTest` - build and run all compiler tests
|
- `compilerTest` - build and run all compiler tests
|
||||||
- `ideaPluginTest` - build and run all IDEA plugin 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.
|
**OPTIONAL:** Some artifacts, mainly Maven plugin ones, are built separately with Maven.
|
||||||
Refer to [libraries/ReadMe.md](libraries/ReadMe.md) for details.
|
Refer to [libraries/ReadMe.md](libraries/ReadMe.md) for details.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -522,7 +522,7 @@ gradle.taskGraph.whenReady {
|
|||||||
val profileMessage = "$profile build profile is active ($proguardMessage, $jarCompressionMessage). " +
|
val profileMessage = "$profile build profile is active ($proguardMessage, $jarCompressionMessage). " +
|
||||||
"Use -Pteamcity=<true|false> to reproduce CI/local build"
|
"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 ->
|
allTasks.filterIsInstance<org.gradle.jvm.tasks.Jar>().forEach { task ->
|
||||||
task.entryCompression = if (kotlinBuildProperties.jarCompression)
|
task.entryCompression = if (kotlinBuildProperties.jarCompression)
|
||||||
|
|||||||
Reference in New Issue
Block a user