File tree 2 files changed +40
-18
lines changed
2 files changed +40
-18
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ plugins {
5
5
id ' com.github.johnrengelman.shadow' version ' 6.1.0'
6
6
id ' java'
7
7
id ' application'
8
+ id ' maven-publish'
8
9
}
9
10
10
11
repositories {
11
12
mavenCentral()
12
13
}
13
14
14
15
15
-
16
16
group = " com.superzanti.serversync"
17
17
version = ssversion
18
18
@@ -94,23 +94,23 @@ task createServerExe(type: Launch4jLibraryTask) {
94
94
version = ssversion
95
95
}
96
96
97
- // publishing {
98
- // repositories {
99
- // maven {
100
- // name = "GitHubPackages"
101
- // url = uri("https://maven.pkg.github.com/${System.getenv('GPR_REPO')}")
102
- // credentials {
103
- // username = project.findProperty("gpr.user") as String ?: System.getenv("GPR_USERNAME")
104
- // password = project.findProperty("gpr.key") as String ?: System.getenv("GPR_TOKEN")
105
- // }
106
- // }
107
- // }
108
- // publications {
109
- // shadow(MavenPublication) { publication ->
110
- // project.shadow.component(publication)
111
- // }
112
- // }
113
- // }
97
+ publishing {
98
+ repositories {
99
+ maven {
100
+ name = " GitHubPackages"
101
+ url = uri(" https://maven.pkg.github.com/${ System.getenv('GPR_REPO')} " )
102
+ credentials {
103
+ username = project. findProperty(" gpr.user" ) as String ?: System . getenv(" GPR_USERNAME" )
104
+ password = project. findProperty(" gpr.key" ) as String ?: System . getenv(" GPR_TOKEN" )
105
+ }
106
+ }
107
+ }
108
+ publications {
109
+ shadow(MavenPublication ) { publication ->
110
+ project. shadow. component(publication)
111
+ }
112
+ }
113
+ }
114
114
115
115
clean {
116
116
}
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
3
+ <modelVersion >4.0.0</modelVersion >
4
+ <groupId >com.superzanti.serversync</groupId >
5
+ <artifactId >ServerSync</artifactId >
6
+ <version >4.2.0</version >
7
+ <packaging >pom</packaging >
8
+ <dependencies >
9
+ <dependency >
10
+ <groupId >com.eclipsesource.minimal-json</groupId >
11
+ <artifactId >minimal-json</artifactId >
12
+ <version >0.9.5</version >
13
+ <scope >runtime</scope >
14
+ </dependency >
15
+ <dependency >
16
+ <groupId >info.picocli</groupId >
17
+ <artifactId >picocli</artifactId >
18
+ <version >4.6.2</version >
19
+ <scope >runtime</scope >
20
+ </dependency >
21
+ </dependencies >
22
+ </project >
You can’t perform that action at this time.
0 commit comments