Skip to content

Commit 1395a1e

Browse files
Fix publishing
1 parent 545eb5f commit 1395a1e

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

build.gradle

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,21 @@ plugins {
22
id 'io.github.gradle-nexus.publish-plugin' version "1.1.0"
33
}
44

5+
group = 'de.undercouch'
6+
version = '3.0.0-alpha.6'
7+
8+
nexusPublishing {
9+
repositories {
10+
sonatype()
11+
}
12+
}
13+
514
subprojects {
615
apply plugin: 'jacoco'
716
apply plugin: 'java'
817

9-
version = '3.0.0-alpha.6'
10-
group = 'de.undercouch'
18+
group = rootProject.group
19+
version = rootProject.version
1120
sourceCompatibility = '1.8'
1221
targetCompatibility = '1.8'
1322

@@ -17,7 +26,7 @@ subprojects {
1726
url 'https://oss.sonatype.org/content/groups/public'
1827
}
1928
}
20-
29+
2130
dependencies {
2231
testImplementation 'junit:junit:4.13.2'
2332
}

citeproc-java/build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,3 @@ tasks.withType(Sign) {
106106
// only sign release artifacts and not snapshots
107107
onlyIf { isReleaseVersion }
108108
}
109-
110-
nexusPublishing {
111-
repositories {
112-
sonatype()
113-
}
114-
}

0 commit comments

Comments
 (0)