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:
+9
@@ -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.
|
||||
Reference in New Issue
Block a user