Skip to content

Commit

Permalink
Fix JitPack publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox2Code committed May 2, 2023
1 parent 5847530 commit ecdf9d6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,14 @@ plugins {

task clean(type: Delete) {
delete rootProject.buildDir
}

tasks.register('publishToMavenLocal', Task)

subprojects {
afterEvaluate {
if (project.plugins.hasPlugin('maven-publish')) {
rootProject.tasks.publishToMavenLocal.dependsOn(publishToMavenLocal)
}
}
}

0 comments on commit ecdf9d6

Please sign in to comment.