Kapt3: Fix Maven build on CI

'tools_jar_profile' Maven profile is activated only if 'kotlin-annotation-processing-maven-build.txt' exists.
It already works this say for the 'kotlin-annotation-processing' artifact.
This commit is contained in:
Yan Zhulanow
2017-03-23 16:49:35 +03:00
parent e84eadebdc
commit eda3b08c31
@@ -0,0 +1,9 @@
The presence of this file enables the "tools_jar_profile" profile in kotlin-annotation-processing,
which adds "tools.jar" to the compile dependencies.
When Gradle loads this artifact, the "tools_jar_profile" profile should not be activated
(cause it adds an extra dependency from the path based on the environment variable).
It wouldn't in fact because:
1. This file is normally absent when Gradle build with kapt is launched;
2. Gradle poorly supports Maven profiles.