We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1c87d0 commit 3c37decCopy full SHA for 3c37dec
build.gradle
@@ -15,15 +15,21 @@ repositories {
15
mavenCentral()
16
}
17
18
-task sourcesJar(type: Jar) {
19
- classifier 'sources'
20
- from sourceSets.main.allSource
+task sourcesJar(type: Jar, dependsOn: classes) {
+ classifier 'sources'
+ from sourceSets.main.allSource
21
+}
22
+
23
+artifacts {
24
+ archives sourcesJar
25
26
27
publishing {
28
publications {
29
mavenJava(MavenPublication) {
- pom {
30
+ from components.java
31
+ artifact tasks.sourcesJar
32
+ pom {
33
groupId = project.group
34
version = project.version
35
artifactId = 'flowupdater'
@@ -46,11 +52,6 @@ publishing {
46
52
47
53
48
54
49
- repositories {
50
- maven {
51
- url "https://flowarg.github.io/maven/"
- }
55
56
57
dependencies {
0 commit comments