summarylogtreecommitdiffstats
path: root/0001-strip-non-compile-deps.patch
blob: d4daf4af0dcc74e78d8d945e6d7fc8eaff18be28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
From df33ee36995ba97ff901b4647641a664fea573a6 Mon Sep 17 00:00:00 2001
From: skydrome <skydrome@protonmail.org>
Date: Sat, 9 Nov 2019 22:47:52 -0500
Subject: [PATCH] strip non-compile deps

---
 build.gradle        | 10 ----------
 dependencies.gradle |  5 -----
 2 files changed, 15 deletions(-)

diff --git a/build.gradle b/build.gradle
index 6defc81c7..7af31bc37 100644
--- a/build.gradle
+++ b/build.gradle
@@ -13,8 +13,6 @@ buildscript {
 plugins {
     id "java"
     id "maven-publish"
-    id "com.github.spotbugs"     version "2.0.1"
-    id "org.sonarqube"           version "2.8"
     id "com.adarshr.test-logger" version "2.0.0"
     id "org.ajoberstar.grgit"    version "4.0.0-rc.1"
 }
@@ -36,7 +34,6 @@ sourceSets {
 }
 
 // Configuration
-apply from: "$rootDir/gradle/analysis.gradle"
 
 // output: build01484-13-g5831bbf
 String gitrev = grgit.open(dir: project.rootDir).describe()
@@ -69,13 +66,6 @@ tasks.withType(AbstractArchiveTask) {
     preserveFileTimestamps false
     reproducibleFileOrder  true
 }
-tasks.withType(com.github.spotbugs.SpotBugsTask) {
-    reports {
-        html.enabled = true
-        xml.enabled  = true
-    }
-    pluginClasspath = project.configurations.spotbugsPlugins
-}

 // Tasks

diff --git a/dependencies.gradle b/dependencies.gradle
index e7e02aec6..20a3e5483 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -33,10 +33,5 @@ ext {
             [config: "implementation", dep: libs.jna],
             [config: "implementation", dep: libs.jnaplatform],
             [config: "implementation", dep: libs.freenet],
-            [config: "testImplementation", dep: libs.junit],
-            [config: "testImplementation", dep: libs.mockito],
-            [config: "testImplementation", dep: libs.hamcrest],
-            [config: "testRuntimeOnly", dep: libs.junitvintage],
-            [config: "spotbugsPlugins", dep: libs.findsecbugs],
     ]
 }
-- 
2.21.0