Skip to content

Commit

Permalink
1.9.1: Signing
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBrick committed May 12, 2021
1 parent eeb76de commit e6b2703
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
build

local.properties
/gradle.properties
15 changes: 13 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
id 'org.jetbrains.dokka' version '1.4.32'
id 'maven-publish'
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
id 'signing'
}

def libName = 'KotlinInside'
Expand Down Expand Up @@ -87,6 +88,11 @@ task sourcesJar(type: Jar, dependsOn: classes) {
from sourceSets.main.allSource
}

signing {
useGpgCmd()
sign publishing.publications
}

artifacts {
archives javadocJar
archives sourcesJar
Expand All @@ -101,20 +107,25 @@ project.publishing {
artifactId = libName
pom {
name = libName
description 'Unofficial DCInside API written in Kotlin'
description = 'Unofficial DCInside API written in Kotlin'
url = 'https://github.com/organization/KotlinInside'
inceptionYear = '2019'
packaging = 'jar'
groupId = 'be.zvz'
artifactId = libName
version libVersion
version = libVersion
licenses {
license {
name = 'GNU General Public License 3.0'
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
distribution = 'repo'
}
}
developers {
developer {
id = 'JellyBrick'
}
}
scm {
connection = 'scm:git:git://github.com/organization/KotlinInside.git'
developerConnection = 'scm:git:ssh://git@github.com:organization/KotlinInside.git'
Expand Down

0 comments on commit e6b2703

Please sign in to comment.