Skip to content

Commit

Permalink
Hotfix: Added sources and javadoc for maven publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
oxisto committed Aug 27, 2021
1 parent 88ef592 commit d281297
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ subprojects {
tasks.withType<JavaCompile> {
sourceCompatibility = "11"
targetCompatibility = "11"

//withSourcesJar()
//withJavadocJar()
}

tasks.withType<JacocoReport> {
Expand Down
5 changes: 5 additions & 0 deletions cpg-library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ node {
version.set("16.4.2")
}

java {
withJavadocJar()
withSourcesJar()
}

val yarnInstall by tasks.registering(YarnTask::class) {
inputs.file("src/main/nodejs/package.json").withPathSensitivity(PathSensitivity.RELATIVE)
inputs.file("src/main/nodejs/yarn.lock").withPathSensitivity(PathSensitivity.RELATIVE)
Expand Down

0 comments on commit d281297

Please sign in to comment.