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 148876c commit 8d7f823Copy full SHA for 8d7f823
lib/build.gradle
@@ -45,6 +45,17 @@ tasks.named('test') {
45
useJUnitPlatform()
46
}
47
48
+task sourcesJar(type: Jar, dependsOn: classes) {
49
+ archiveClassifier = 'sources'
50
+ archiveBaseName = 'openfeature'
51
+ from sourceSets.main.allSource
52
+}
53
+
54
+artifacts {
55
+ archives sourcesJar
56
57
58
59
jar.archiveBaseName = 'openfeature'
60
61
def repo_url = System.getenv("REPOSITORY_URL")
@@ -57,6 +68,10 @@ publishing {
68
maven(MavenPublication) {
69
artifactId="javasdk"
70
from components.java
71
+ artifacts {
72
73
+ archives jar
74
+ }
75
76
pom {
62
77
name = 'OpenFeature SDK'
0 commit comments