Skip to content

Commit 622a46e

Browse files
committed
Invert optional repo check
1 parent 8126442 commit 622a46e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/dev/deftu/gradle/tools/repo.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fun RepositoryHandler.optionalMaven(
3838
url: String,
3939
block: ArtifactRepository.() -> Unit = { }
4040
) {
41-
if (project.propertyBoolOr(propertyName, false)) {
41+
if (!project.propertyBoolOr(propertyName, true)) {
4242
return
4343
}
4444

0 commit comments

Comments
 (0)