Skip to content

Commit

Permalink
MavenLocal and Jitpack support
Browse files Browse the repository at this point in the history
Signed-off-by: Noaaan <[email protected]>
  • Loading branch information
Noaaan committed Sep 27, 2022
1 parent b4dfb5a commit 043f908
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,17 @@ jar {
rename { "${it}_${project.archivesBaseName}" }
}
}


// configure the maven publication
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}

repositories {
mavenLocal()
}
}
3 changes: 3 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
before_install:
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
- source install-jdk.sh --feature 17

0 comments on commit 043f908

Please sign in to comment.