Skip to content

Commit

Permalink
Try CI publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
xBaank committed May 10, 2024
1 parent 6c7e639 commit d847e7f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ jobs:
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_SECRET_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }}


4 changes: 3 additions & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 20 additions & 6 deletions simpleJson-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ object Meta {
const val groupId = "io.github.xbaank"
const val artifactId = "simpleJson-core"
const val version = "3.0.1-SNAPSHOT1"
const val name = "simpleJson"
const val description = "simpleJson is a library for parsing and generating JSON in Kotlin Multiplatform"
const val licenseName = "GNU General Public License v3.0"
const val licenseUrl = "https://github.com/xBaank/simpleJson/blob/master/License"
const val scmUrl = "https://github.com/xBaank/simpleJson"
const val developerName = "xBaank"
const val developerUrl = "https://github.com/xBaank"
}

plugins {
Expand Down Expand Up @@ -57,18 +64,25 @@ mavenPublishing {
publishToMavenCentral(SonatypeHost.S01)
signAllPublications()
pom {
name.set("simpleJson")
description.set("simpleJson is a library for parsing and generating JSON in Kotlin Multiplatform")
url.set("https://github.com/xBaank/simpleJson")
name.set(Meta.name)
description.set(Meta.description)
url.set(Meta.scmUrl)

licenses {
license {
name.set("GNU General Public License v3.0")
url.set("https://github.com/xBaank/simpleJson/blob/master/License")
name.set(Meta.licenseName)
url.set(Meta.licenseUrl)
}
}
scm {
url.set("https://github.com/xBaank/simpleJson")
url.set(Meta.scmUrl)
}
developers {
developer {
id.set(Meta.developerName)
name.set(Meta.developerName)
url.set(Meta.developerUrl)
}
}
}
}

0 comments on commit d847e7f

Please sign in to comment.