Skip to content

Commit efa38cf

Browse files
committed
Bump for '184a66b'
1 parent 7b5c3d7 commit efa38cf

2 files changed

Lines changed: 23 additions & 6 deletions

File tree

build.gradle.kts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1+
plugins {
2+
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
3+
}
4+
15
allprojects {
26
group = "com.lithic.api"
37
version = "0.0.1"
48
}
9+
10+
nexusPublishing {
11+
repositories {
12+
sonatype {
13+
username.set(System.getenv("SONATYPE_USERNAME"))
14+
password.set(System.getenv("SONATYPE_PASSWORD"))
15+
}
16+
}
17+
}

buildSrc/src/main/kotlin/lithic.publish.gradle.kts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ configure<PublishingExtension> {
1818
description.set("The Lithic Developer API is designed to provide a predictable programmatic\ninterface for accessing your Lithic account through an API and transaction\nwebhooks. Note that your API key is a secret and should be treated as such.\nDon't share it with anyone, including us. We will never ask you for it.")
1919
url.set("https://docs.lithic.com")
2020

21-
scm {
22-
connection.set("scm:git:git://github.com/lithic-com/lithic-java.git")
23-
developerConnection.set("scm:git:git://github.com/lithic-com/lithic-java.git")
24-
url.set("https://github.com/lithic-com/lithic-java")
25-
}
26-
2721
licenses {
2822
license {
2923
name.set("Apache-2.0")
@@ -37,6 +31,12 @@ configure<PublishingExtension> {
3731
}
3832
}
3933

34+
scm {
35+
connection.set("scm:git:git://github.com/lithic-com/lithic-java.git")
36+
developerConnection.set("scm:git:git://github.com/lithic-com/lithic-java.git")
37+
url.set("https://github.com/lithic-com/lithic-java")
38+
}
39+
4040
versionMapping {
4141
allVariants {
4242
fromResolutionResult()
@@ -46,3 +46,7 @@ configure<PublishingExtension> {
4646
}
4747
}
4848
}
49+
50+
tasks.publish {
51+
dependsOn(":closeAndReleaseSonatypeStagingRepository")
52+
}

0 commit comments

Comments
 (0)