Skip to content

Commit

Permalink
add javadocs and source
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemyev Vyacheslav authored and Artemyev Vyacheslav committed Nov 15, 2023
1 parent dae515c commit d6cae6b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ plugins {
id "com.github.johnrengelman.shadow" version "8.1.1"
id "org.jetbrains.dokka" version "1.9.10"
id "java-library"
id "maven-publish"
id "signing"
}

allprojects {
Expand Down Expand Up @@ -89,6 +91,21 @@ configure(rootProject) {
}
}

task javadocJar(type: Jar) {
from javadoc
archiveClassifier.set('javadoc')
}

task sourcesJar(type: Jar) {
from sourceSets.main.allSource
archiveClassifier.set('sources')
}

artifacts {
archives javadocJar, sourcesJar
}


subprojects {
dependencies {
implementation rootProject
Expand Down

0 comments on commit d6cae6b

Please sign in to comment.