aboutsummaryrefslogtreecommitdiffstats
path: root/tests/plugins/security-plugin/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/security-plugin/build.gradle')
-rw-r--r--tests/plugins/security-plugin/build.gradle29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/plugins/security-plugin/build.gradle b/tests/plugins/security-plugin/build.gradle
new file mode 100644
index 00000000000..cfd4d2bbe0f
--- /dev/null
+++ b/tests/plugins/security-plugin/build.gradle
@@ -0,0 +1,29 @@
+configurations {
+ testCompile.extendsFrom(compileOnly)
+}
+
+dependencies {
+ compile 'commons-lang:commons-lang'
+ compile 'com.google.guava:guava'
+ compileOnly project(path: ':sonar-plugin-api', configuration: 'shadow')
+ testCompile 'junit:junit'
+ testCompile 'org.assertj:assertj-core'
+}
+
+jar {
+ manifest {
+ attributes(
+ 'Plugin-Key': 'security-plugin',
+ 'Plugin-Version': version,
+ 'Plugin-Class': 'SecurityPlugin',
+ 'Plugin-ChildFirstClassLoader': 'false',
+ 'Sonar-Version': '7.1-SNAPSHOT',
+ 'SonarLint-Supported': 'false',
+ 'Plugin-Name': 'security-plugin',
+ 'Plugin-License': 'GNU LGPL 3'
+ )
+ }
+ into('META-INF/lib') {
+ from configurations.compile
+ }
+}