Skip to content

Commit 77a456a

Browse files
electrumrdblue
authored andcommitted
Correctly publish artifacts on JitPack (#321)
The Gradle install target produces invalid POM files that are missing the dependencyManagement section and versions for some dependencies. Instead, we directly tell JitPack to run the correct Gradle target.
1 parent daf0620 commit 77a456a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ subprojects {
6464
apply plugin: 'maven' // make pom files for deployment
6565
apply plugin: 'nebula.maven-base-publish'
6666

67-
artifacts {
68-
archives sourceJar
69-
}
70-
7167
compileJava {
7268
options.encoding = "UTF-8"
7369
}

jitpack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
install:
2+
- ./gradlew publishToMavenLocal

0 commit comments

Comments
 (0)