Skip to content

Commit

Permalink
Edit publishing settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Com6235 committed Apr 29, 2024
1 parent d282c09 commit 384f3c8
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 33 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
id("org.jetbrains.dokka") version "1.9.20"
idea
`maven-publish`
signing
}

group = "io.github.com6235"
Expand Down Expand Up @@ -75,6 +76,32 @@ publishing {
from(components["kotlin"])
artifact(jdArtifact)
artifact(srcArtifact)
pom {
packaging = "jar"
groupId = group.toString()
artifactId = project.name
version = project.version.toString()
name = "${group}:${project.name}"
description = "A framework for creating Telegram bots with ease. Made using official Telegram API"
url = "https://github.com/Com6235/tgBotter"
licenses {
license {
name = "MIT License"
url = "https://opensource.org/license/mit"
}
}
developers {
developer {
id = "com6235"
name = "Com6235"
}
}
scm {
connection = "scm:git:git://github.com/Com6235/tgBotter.git"
developerConnection = "scm:git:ssh://github.com:Com6235/tgBotter.git"
url = "https://github.com/Com6235/tgBotter"
}
}
}
}

Expand All @@ -88,4 +115,9 @@ publishing {
}
}
}
}
}

signing {
useGpgCmd()
sign(publishing.publications["kotlin"])
}
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
kotlin.code.style=official

systemProp.org.gradle.internal.publish.checksums.insecure=true

0 comments on commit 384f3c8

Please sign in to comment.