Skip to content

Commit 8b37c52

Browse files
authored
Fix jitpack build
1 parent f0f03e9 commit 8b37c52

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

jitpack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jdk:
2+
- openjdk17

library/build.gradle.kts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,14 @@ publishing {
1818
publications {
1919
create<MavenPublication>("maven") {
2020
groupId = "com.lagradost"
21-
artifactId= "nicehttp"
22-
version= "0.4.15"
21+
artifactId = "nicehttp"
22+
version = "0.4.15"
23+
from(components["java"])
24+
}
25+
create<MavenPublication>("jitpack") {
26+
groupId = "com.github.Blatzar" // jipack uses the GitHub username as groupId
27+
artifactId = "nicehttp"
28+
version = "0.4.15"
2329
from(components["java"])
2430
}
2531
}

0 commit comments

Comments
 (0)