diff options
Diffstat (limited to 'tests/plugins/backdating-customplugin/build.gradle')
-rw-r--r-- | tests/plugins/backdating-customplugin/build.gradle | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/plugins/backdating-customplugin/build.gradle b/tests/plugins/backdating-customplugin/build.gradle new file mode 100644 index 00000000000..1e047a85029 --- /dev/null +++ b/tests/plugins/backdating-customplugin/build.gradle @@ -0,0 +1,31 @@ +sonarqube { + skipProject = true +} + +dependencies { + compile 'com.google.guava:guava' + compile 'commons-io:commons-io' + compile 'commons-lang:commons-lang' + compileOnly 'com.google.code.findbugs:jsr305' + compileOnly project(path: ':sonar-plugin-api', configuration: 'shadow') + compileOnly project(':tests:plugins:backdating-plugin-v1') +} + +jar { + manifest { + attributes( + 'Plugin-Key': 'custombackdating', + 'Plugin-Version': version, + 'Plugin-Class': 'org.sonar.backdating.custom.BackdatingPlugin', + 'Plugin-ChildFirstClassLoader': 'false', + 'Sonar-Version': '7.1-SNAPSHOT', + 'SonarLint-Supported': 'false', + 'Plugin-Name': 'Custom', + 'Plugin-License': 'GNU LGPL 3', + 'Plugin-Base': 'backdating' + ) + } + into('META-INF/lib') { + from configurations.compile + } +} |