Publish subprojects correctly
This commit is contained in:
parent
9656e98f94
commit
c6d1c10b6c
1 changed files with 5 additions and 1 deletions
|
|
@ -96,7 +96,11 @@ subprojects {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = "fvdh"
|
name = "fvdh"
|
||||||
url = uri("https://repo.fvdh.dev/test")
|
url = if (version.toString().endsWith("-SNAPSHOT")) {
|
||||||
|
uri("https://repo.fvdh.dev/snapshots")
|
||||||
|
} else {
|
||||||
|
uri("https://repo.fvdh.dev/releases")
|
||||||
|
}
|
||||||
|
|
||||||
credentials {
|
credentials {
|
||||||
username = System.getenv("FVDH_USERNAME")
|
username = System.getenv("FVDH_USERNAME")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue