File tree Expand file tree Collapse file tree 2 files changed +51
-9
lines changed Expand file tree Collapse file tree 2 files changed +51
-9
lines changed Original file line number Diff line number Diff line change 1
1
.gradle
2
2
.idea
3
+ gradle.properties
Original file line number Diff line number Diff line change
1
+ buildscript {
2
+ repositories {
3
+ jcenter()
4
+ }
5
+ dependencies {
6
+ classpath ' com.bmuschko:gradle-nexus-plugin:2.3.1'
7
+ }
8
+ }
9
+
1
10
plugins {
2
11
id ' java'
3
- id ' maven-publish '
12
+ id ' com.bmuschko.nexus ' version ' 2.3.1 '
4
13
}
5
14
6
- group ' dev.manpreet'
7
- version ' 1.0'
15
+ archivesBaseName = ' apache-sseclient'
16
+ group = " dev.manpreet"
17
+ version = " 1.0"
8
18
9
19
repositories {
10
20
mavenCentral()
@@ -53,12 +63,43 @@ test {
53
63
}
54
64
}
55
65
56
- publishing {
57
- publications {
58
- maven(MavenPublication ) {
59
- groupId = ' org.apache.client.sse'
60
- artifactId = ' apache-sseclient'
61
- version = ' 1.0'
66
+ modifyPom {
67
+ project {
68
+ name ' apache-sseclient'
69
+ description ' SSE client for apache HTTP client'
70
+ url ' https://github.com/autopreet/apache-sseclient'
71
+ inceptionYear ' 2020'
72
+
73
+ scm {
74
+ url ' https://github.com/autopreet/apache-sseclient'
75
+ connection ' scm:https://github.com/autopreet/apache-sseclient.git'
76
+ developerConnection ' scm:https://github.com/autopreet/apache-sseclient.git'
77
+ }
78
+
79
+ licenses {
80
+ license {
81
+ name ' The Apache Software License, Version 2.0'
82
+ url ' http://www.apache.org/licenses/LICENSE-2.0.txt'
83
+ distribution ' repo'
84
+ }
85
+ }
86
+
87
+ developers {
88
+ developer {
89
+ id ' autopreet'
90
+ name ' Manpreet'
91
+
92
+ }
62
93
}
63
94
}
95
+ }
96
+
97
+ extraArchive {
98
+ sources = true
99
+ }
100
+
101
+ nexus {
102
+ sign = true
103
+ repositoryUrl = ' https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
104
+ snapshotRepositoryUrl = ' https://s01.oss.sonatype.org/content/repositories/snapshots/'
64
105
}
You can’t perform that action at this time.
0 commit comments