Skip to content
This repository was archived by the owner on Oct 23, 2021. It is now read-only.

Commit 8ee53c1

Browse files
Move publishing configuration
1 parent 40a1aae commit 8ee53c1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

build.gradle

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,20 @@ plugins {
2424
group 'club.minnced'
2525
version '2.0.0'
2626

27+
publishing {
28+
publications {
29+
BintrayRelease(MavenPublication) {
30+
from components.java
31+
groupId group
32+
artifactId archivesBaseName
33+
version version
34+
35+
artifact javadocJar
36+
artifact sourcesJar
37+
}
38+
}
39+
}
40+
2741
sourceSets {
2842
examples {
2943
compileClasspath = main.output
@@ -130,20 +144,6 @@ def getProjectProperty(String key) {
130144
return hasProperty(key) ? this.properties[key] : ''
131145
}
132146

133-
publishing {
134-
publications {
135-
BintrayRelease(MavenPublication) {
136-
from components.java
137-
groupId group
138-
artifactId archivesBaseName
139-
version version
140-
141-
artifact javadocJar
142-
artifact sourcesJar
143-
}
144-
}
145-
}
146-
147147
build {
148148
dependsOn jar
149149
dependsOn javadocJar

0 commit comments

Comments
 (0)