Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ subprojects { project ->
}
}
}

task javadocsJar(type: Jar) {
archiveClassifier.set("javadoc")
}

task sourcesJar(type: Jar) {
archiveClassifier.set("sources")
from "src/main/java", "src/main/resources"
}
}

task clean(type: Delete) {
Expand Down
3 changes: 3 additions & 0 deletions readium/lcp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ afterEvaluate {

groupId = 'com.github.readium'
artifactId = 'readium-lcp'

artifact sourcesJar
artifact javadocsJar
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions readium/navigator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ afterEvaluate {

groupId = 'com.github.readium'
artifactId = 'readium-navigator'

artifact sourcesJar
artifact javadocsJar
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions readium/opds/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ afterEvaluate {
from components.release
groupId = 'com.github.readium'
artifactId = 'readium-opds'

artifact sourcesJar
artifact javadocsJar
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions readium/shared/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ afterEvaluate {

groupId = 'com.github.readium'
artifactId = 'readium-shared'

artifact sourcesJar
artifact javadocsJar
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions readium/streamer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ afterEvaluate {

groupId = 'com.github.readium'
artifactId = 'readium-streamer'

artifact sourcesJar
artifact javadocsJar
}
}
}
Expand Down