Closed arturbosch closed 7 years ago
compile "org.sonarsource.sonarqube:sonar-plugin-api:$sonarVersion"
Needs to be
provided "org.sonarsource.sonarqube:sonar-plugin-api:$sonarVersion"
You should also use version 0.1.4 of the plugin!
Now I get this error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':detekt-sonar-kotlin:pluginPackaging'.
> You cannot add child specs at execution time. Consider configuring this task during configuration time or using a separate task to do the configuration.
Seems to be connected to #18
This is due to the plugin only working with gradle up to 3.2 (i believe) i'm refactoring it currently to support 3.x/4.x
I get the same error, do you know by when you plan to release the refactored version?
I pushed the code for this last night, just need to sort some issues with travis out then i'll be making a release.
I have released 1.0-RC1 this support gradle 4.x, can you give it a go please :)
Jap, the new version works perfectly, thx you ! :) (with sonar-api as provided, compileOnly throws another exception)
@arturbosch i'll see whats wrong with using compileOnly, what was the error you got?
Heyho,
when trying to apply this plugin in my multiproject I get following:
Versions:
sonar: 5.6 or 6.4
gradle: 4.0-rc-1
My
build.gradle
looks like this:any ideas?