Added support for snapshot.
This commit is contained in:
parent
b984f54a8d
commit
563af5b436
4 changed files with 7 additions and 5 deletions
|
@ -13,7 +13,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "net.thauvin.erik"
|
group = "net.thauvin.erik"
|
||||||
version = "1.0.4"
|
version = "1.0.4-SNAPSHOT"
|
||||||
description = "Pinboard Poster for Kotlin/Java"
|
description = "Pinboard Poster for Kotlin/Java"
|
||||||
|
|
||||||
val gitHub = "ethauvin/$name"
|
val gitHub = "ethauvin/$name"
|
||||||
|
@ -188,7 +188,9 @@ publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = "ossrh"
|
name = "ossrh"
|
||||||
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
|
url = if (project.version.toString().contains("SNAPSHOT"))
|
||||||
|
uri("https://oss.sonatype.org/content/repositories/snapshots/") else
|
||||||
|
uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
|
||||||
credentials(PasswordCredentials::class)
|
credentials(PasswordCredentials::class)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -8,7 +8,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>net.thauvin.erik</groupId>
|
<groupId>net.thauvin.erik</groupId>
|
||||||
<artifactId>pinboard-poster</artifactId>
|
<artifactId>pinboard-poster</artifactId>
|
||||||
<version>1.0.4</version>
|
<version>1.0.4-SNAPSHOT</version>
|
||||||
<name>pinboard-poster</name>
|
<name>pinboard-poster</name>
|
||||||
<description>Pinboard Poster for Kotlin/Java</description>
|
<description>Pinboard Poster for Kotlin/Java</description>
|
||||||
<url>https://github.com/ethauvin/pinboard-poster</url>
|
<url>https://github.com/ethauvin/pinboard-poster</url>
|
||||||
|
|
|
@ -15,5 +15,5 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'net.thauvin.erik:pinboard-poster:1.0.4'
|
implementation 'net.thauvin.erik:pinboard-poster:1.0.4-SNAPSHOT'
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("net.thauvin.erik:pinboard-poster:1.0.4")
|
implementation("net.thauvin.erik:pinboard-poster:1.0.4-SNAPSHOT")
|
||||||
}
|
}
|
||||||
|
|
||||||
application {
|
application {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue