Skip to content

Commit fc80255

Browse files
authored
Merge pull request #12 from moormanm/sonatype-fix
sonatype fix
2 parents 0be7fa0 + 1e13e43 commit fc80255

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

build.gradle

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ plugins {
22
id 'java-library'
33
id 'jacoco'
44
id 'maven-publish'
5-
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
5+
id('io.github.gradle-nexus.publish-plugin') version ('1.1.0')
66
id 'signing'
77
}
88

99
group 'org.moormanity'
10-
version '0.1'
10+
version '0.1-SNAPSHOT'
1111

1212
repositories {
1313
mavenCentral()
@@ -43,6 +43,28 @@ publishing {
4343
publications {
4444
mavenJava(MavenPublication) {
4545
from(components.java)
46+
pom {
47+
name = 'java-smpte-timecode'
48+
description = 'A minimalist library for dealing with SMPTE timecodes'
49+
url = 'https://github.com/moormanm/java-smpte-timecode'
50+
licenses {
51+
license {
52+
name = 'The Apache License, Version 2.0'
53+
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
54+
}
55+
}
56+
developers {
57+
developer {
58+
id = 'michael.e.moorman@gmail.com'
59+
name = 'Mike Moorman'
60+
}
61+
}
62+
scm {
63+
url = 'https://github.com/moormanm/java-smpte-timecode.git'
64+
connection = 'scm:git://github.com/moormanm/java-smpte-timecode.git'
65+
developerConnection = 'scm:git://github.com/moormanm/java-smpte-timecode.git'
66+
}
67+
}
4668
}
4769
}
4870
}
@@ -53,4 +75,8 @@ nexusPublishing {
5375
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
5476
}
5577
}
78+
}
79+
80+
signing {
81+
sign publishing.publications.mavenJava
5682
}

0 commit comments

Comments
 (0)