Skip to content

Commit

Permalink
Adding the two publishing sections in both gradle files (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
konradweiss authored Feb 16, 2022
1 parent d3383ec commit de517dd
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
12 changes: 12 additions & 0 deletions cpg-console/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ plugins {
application
}

publishing {
publications {
named<MavenPublication>("cpg-console") {
pom {
artifactId = "cpg-console"
name.set("Code Property Graph - Console")
description.set("An Application to translate source code into a Code Property Graph and perform different types of analysis on the resulting graph.")
}
}
}
}

application {
mainClass.set("de.fraunhofer.aisec.cpg.console.CpgConsole")
}
Expand Down
2 changes: 0 additions & 2 deletions cpg-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ import com.github.gradle.node.yarn.task.YarnTask
plugins {
`java-library`
`java-test-fixtures`

`maven-publish`
signing

id("com.github.node-gradle.node") version "3.2.0"
Expand Down
13 changes: 13 additions & 0 deletions cpg-neo4j/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ application {
mainClass.set("de.fraunhofer.aisec.cpg_vis_neo4j.ApplicationKt")
}

publishing {
publications {
named<MavenPublication>("cpg-neo4j") {
pom {
artifactId = "cpg-neo4j"
name.set("Code Property Graph - Neo4j")
description.set("An Application to translate and persist specified source code as a Code Property Graph to an installed instance of the Neo4j Graph Database.")
}
}
}
}


tasks.withType<Test> {
useJUnitPlatform {
if (!project.hasProperty("integration")) {
Expand Down

0 comments on commit de517dd

Please sign in to comment.