Skip to content

Commit 3c37dec

Browse files
committed
Finally, published version 1.0.1 (waiting old forge version)
1 parent a1c87d0 commit 3c37dec

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

build.gradle

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,21 @@ repositories {
1515
mavenCentral()
1616
}
1717

18-
task sourcesJar(type: Jar) {
19-
classifier 'sources'
20-
from sourceSets.main.allSource
18+
task sourcesJar(type: Jar, dependsOn: classes) {
19+
classifier 'sources'
20+
from sourceSets.main.allSource
21+
}
22+
23+
artifacts {
24+
archives sourcesJar
2125
}
2226

2327
publishing {
2428
publications {
2529
mavenJava(MavenPublication) {
26-
pom {
30+
from components.java
31+
artifact tasks.sourcesJar
32+
pom {
2733
groupId = project.group
2834
version = project.version
2935
artifactId = 'flowupdater'
@@ -46,11 +52,6 @@ publishing {
4652
}
4753
}
4854
}
49-
repositories {
50-
maven {
51-
url "https://flowarg.github.io/maven/"
52-
}
53-
}
5455
}
5556

5657
dependencies {

0 commit comments

Comments
 (0)