Skip to content

Commit

Permalink
publishToMavenLocal working, so maybe jitpack will work now with this…
Browse files Browse the repository at this point in the history
… new gradle version
  • Loading branch information
retrodaredevil committed Dec 12, 2024
1 parent f9d559f commit 8582268
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ plugins {

subprojects {
apply plugin: 'java-library'
apply plugin: 'maven-publish' // necessary for jitpack
apply plugin: 'docker-compose'

sourceCompatibility = 1.8
Expand Down Expand Up @@ -65,6 +66,19 @@ subprojects {
isRequiredBy integration
waitForTcpPortsTimeout = Duration.ofMinutes(1)
}

publishing { // necessary for jitpack
publications {
mavenJava(MavenPublication) {
// thanks https://stackoverflow.com/a/68515859/5434860
groupId = "${group}"
artifactId = "${project.name}"
version = "${version}"

from project.components.java
}
}
}
}

wrapper {
Expand Down

0 comments on commit 8582268

Please sign in to comment.