Publish subprojects correctly v2

This commit is contained in:
Frank van der Heijden 2021-10-05 20:05:19 +02:00
parent c6d1c10b6c
commit 57a2bc0b4c
No known key found for this signature in database
GPG key ID: B808721C2DD5B5B8

View file

@ -96,7 +96,7 @@ subprojects {
repositories {
maven {
name = "fvdh"
url = if (version.toString().endsWith("-SNAPSHOT")) {
url = if (rootProject.version.toString().endsWith("-SNAPSHOT")) {
uri("https://repo.fvdh.dev/snapshots")
} else {
uri("https://repo.fvdh.dev/releases")