File: build.patch

package info (click to toggle)
intellij-annotations 23.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 316 kB
  • sloc: java: 402; sh: 128; makefile: 15
file content (82 lines) | stat: -rw-r--r-- 2,014 bytes parent folder | download
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
From: Markus Koschany <apo@debian.org>
Date: Sat, 25 Sep 2021 01:36:38 +0200
Subject: build

Remove unnecessary dependencies and support only Java 8.
---
 build.gradle    | 25 +------------------------
 settings.gradle |  2 +-
 2 files changed, 2 insertions(+), 25 deletions(-)

diff --git a/build.gradle b/build.gradle
index 94aaab4..2424317 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,3 @@
-import jetbrains.sign.GpgSignSignatoryProvider
-
 /*
  * Copyright 2000-2021 JetBrains s.r.o.
  *
@@ -20,13 +18,6 @@ buildscript {
     repositories {
         maven { url "https://packages.jetbrains.team/maven/p/jcs/maven" }
     }
-    dependencies {
-        classpath 'com.jetbrains:jet-sign:38'
-    }
-}
-
-plugins {
-    id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
 }
 
 ext.projectVersion = projectVersion
@@ -42,15 +33,6 @@ allprojects {
     version rootProject.ext.projectVersion
 }
 
-nexusPublishing {
-    repositories {
-        sonatype {
-            username = rootProject.ext.publishingUser
-            password = rootProject.ext.publishingPassword
-        }
-    }
-}
-
 subprojects {
     apply plugin: 'java'
     apply plugin: 'maven-publish'
@@ -61,10 +43,9 @@ subprojects {
     }
 }
 
-project(':java5').archivesBaseName = 'annotations-java5'
 project(':java8').archivesBaseName = 'annotations'
 
-configure([project(':java5'), project(':java8')]) {
+configure([project(':java8')]) {
     dependencies {
         compile project(':module-info')
     }
@@ -143,8 +124,4 @@ configure([project(':java5'), project(':java8')]) {
         }
     }
 
-    signing {
-        sign publishing.publications
-        signatories = new GpgSignSignatoryProvider()
-    }
 }
diff --git a/settings.gradle b/settings.gradle
index c4e6b4c..935e8f2 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -16,4 +16,4 @@
 
 rootProject.name = 'annotations-parent'
 
-include 'common', 'java5', 'java8', 'module-info'
\ No newline at end of file
+include 'common', 'java8', 'module-info'