aboutsummaryrefslogtreecommitdiffstats
path: root/tests/plugins/fake-governance-plugin/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/fake-governance-plugin/build.gradle')
-rw-r--r--tests/plugins/fake-governance-plugin/build.gradle19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/plugins/fake-governance-plugin/build.gradle b/tests/plugins/fake-governance-plugin/build.gradle
new file mode 100644
index 00000000000..225751ba344
--- /dev/null
+++ b/tests/plugins/fake-governance-plugin/build.gradle
@@ -0,0 +1,19 @@
+dependencies {
+ compileOnly project(path: ':sonar-plugin-api', configuration: 'shadow')
+ compileOnly project(':server:sonar-server')
+}
+
+jar {
+ manifest {
+ attributes(
+ 'Plugin-Key': 'governance',
+ 'Plugin-Version': version,
+ 'Plugin-Class': 'FakeGovernancePlugin',
+ 'Plugin-ChildFirstClassLoader': 'false',
+ 'Sonar-Version': '7.1-SNAPSHOT',
+ 'SonarLint-Supported': 'false',
+ 'Plugin-Name': 'Plugins :: Fake Governance Plugin',
+ 'Plugin-License': 'GNU LGPL 3'
+ )
+ }
+}