Skip to content

Commit d6cae6b

Browse files
Artemyev VyacheslavArtemyev Vyacheslav
Artemyev Vyacheslav
authored and
Artemyev Vyacheslav
committed
add javadocs and source
1 parent dae515c commit d6cae6b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

build.gradle

+17
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ plugins {
2626
id "com.github.johnrengelman.shadow" version "8.1.1"
2727
id "org.jetbrains.dokka" version "1.9.10"
2828
id "java-library"
29+
id "maven-publish"
30+
id "signing"
2931
}
3032

3133
allprojects {
@@ -89,6 +91,21 @@ configure(rootProject) {
8991
}
9092
}
9193

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+
92109
subprojects {
93110
dependencies {
94111
implementation rootProject

0 commit comments

Comments
 (0)