mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-03-02 04:01:26 +01:00
Only use plugin if we're publishing
This commit is contained in:
parent
ed17c2ac3e
commit
02d31aa966
@ -1,6 +1,6 @@
|
||||
plugins {
|
||||
`maven-publish`
|
||||
id("org.hibernate.build.maven-repo-auth") version "3.0.4"
|
||||
id("org.hibernate.build.maven-repo-auth") version "3.0.4" apply false
|
||||
}
|
||||
|
||||
version = "10.0.44-SNAPSHOT"
|
||||
@ -29,6 +29,10 @@ tasks.withType<Javadoc>().configureEach {
|
||||
)
|
||||
}
|
||||
|
||||
tasks.named("publish") {
|
||||
apply(plugin = "org.hibernate.build.maven-repo-auth")
|
||||
}
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
// If 'publishToExternalRepo' is false or missing, only publish to local.
|
||||
|
Loading…
Reference in New Issue
Block a user