Skip to content

Commit

Permalink
Merge pull request #1 from nitok-software/feat/jitpack
Browse files Browse the repository at this point in the history
feat: jitpack support
  • Loading branch information
nbrugger-tgm authored Feb 20, 2024
2 parents 80737de + f96035f commit 894999a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Empty file added build.gradle.kts
Empty file.
4 changes: 4 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
jdk:
- openjdk17
install:
- ./gradlew publishToMavenLocal
8 changes: 8 additions & 0 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
plugins {
// Apply the java-library plugin for API and implementation separation.
`java-library`
`maven-publish`
}

repositories {
Expand All @@ -30,3 +31,10 @@ dependencies {

implementation("mysql:mysql-connector-java:8.0.33")
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}

0 comments on commit 894999a

Please # to comment.