Skip to content

Commit

Permalink
Try workaround for failed publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasJejkal committed Apr 2, 2024
1 parent ef4bf9d commit 92e9f94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ dependencies {
testImplementation "org.mockito:mockito-inline:5.2.0"
}

tasks.withType(AbstractPublishToMaven).configureEach{
signingTasks = tasks.withType(Sign)
mustRunAfter(signingTasks)
}

if (project.hasProperty('release')) {
println 'Using \'release\' profile for building ' + project.getName()
apply from: 'gradle/profile-deploy.gradle'
Expand Down
4 changes: 0 additions & 4 deletions gradle/profile-deploy.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ javadoc {
}
}

tasks.withType<AbstractPublishToMaven>().configureEach {
val signingTasks = tasks.withType<Sign>()
mustRunAfter(signingTasks)
}

////////////////////////////////////////////////////////////////////////////////
//for plugin io.github.gradle-nexus.publish-plugin
Expand Down

0 comments on commit 92e9f94

Please sign in to comment.