File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -496,8 +496,8 @@ publishing {
496496 // see https://docs.gradle.org/current/userguide/publishing_customization.html#sec:publishing_maven:conditional_publishing
497497 tasks.withType<PublishToMavenRepository >().configureEach {
498498 val predicate = provider {
499- (publication == publications[" mod" ] && repository == repositories[ " central" ] ) ||
500- (publication == publications[" versionedMod" ] && repository == repositories[ " DaPorkchop_" ] )
499+ (publication == publications[" mod" ] && repository == repositories.findByName( " central" ) ) ||
500+ (publication == publications[" versionedMod" ] && repository == repositories.findByName( " DaPorkchop_" ) )
501501 }
502502 onlyIf(" publishing mod to Sonatype repository, and versioned mod to DaPorkchop_ repository" ) {
503503 predicate.get()
You can’t perform that action at this time.
0 commit comments