We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dae515c commit d6cae6bCopy full SHA for d6cae6b
build.gradle
@@ -26,6 +26,8 @@ plugins {
26
id "com.github.johnrengelman.shadow" version "8.1.1"
27
id "org.jetbrains.dokka" version "1.9.10"
28
id "java-library"
29
+ id "maven-publish"
30
+ id "signing"
31
}
32
33
allprojects {
@@ -89,6 +91,21 @@ configure(rootProject) {
89
91
90
92
93
94
+task javadocJar(type: Jar) {
95
+ from javadoc
96
+ archiveClassifier.set('javadoc')
97
+}
98
+
99
+task sourcesJar(type: Jar) {
100
+ from sourceSets.main.allSource
101
+ archiveClassifier.set('sources')
102
103
104
+artifacts {
105
+ archives javadocJar, sourcesJar
106
107
108
109
subprojects {
110
dependencies {
111
implementation rootProject
0 commit comments