gradle: use AbstractPublishToMaven instead of PublishToMavenRepository to support publishing to local Maven repo (PublishToMavenLocal)

This commit is contained in:
Karl Tauber
2024-02-19 18:47:48 +01:00
parent d7a76081e3
commit a8e71895ee
6 changed files with 6 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ tasks {
testLogging.exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
}
withType<PublishToMavenRepository>().configureEach {
withType<AbstractPublishToMaven>().configureEach {
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
}
}