Skip to content

Commit

Permalink
Remove cpg-all (#1939)
Browse files Browse the repository at this point in the history
For legacy reasons, we had this `cpg-all` repo which included all the other repos. We should stop publishing this as we want to promote the individual language modules.
  • Loading branch information
oxisto authored Jan 16, 2025
1 parent 877da2b commit 0272b67
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 42 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,12 @@ The most recent version is being published to Maven central and can be used as a

```kotlin
dependencies {
val cpgVersion = "8.0.0"
val cpgVersion = "9.0.2"

// if you want to include all published cpg modules
implementation("de.fraunhofer.aisec", "cpg", cpgVersion)

// if you only want to use some of the cpg modules
// use the 'cpg-core' module
// and then add the needed extra modules, such as Go and Python
implementation("de.fraunhofer.aisec", "cpg-core", cpgVersion)

// and then add the needed extra modules, such as Go and Python
implementation("de.fraunhofer.aisec", "cpg-language-go", cpgVersion)
implementation("de.fraunhofer.aisec", "cpg-language-python", cpgVersion)
}
Expand Down
31 changes: 0 additions & 31 deletions cpg-all/build.gradle.kts

This file was deleted.

6 changes: 2 additions & 4 deletions docs/docs/GettingStarted/library.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ You can use the CPG library in your kotlin project.
## 1. Add the CPG library to your dependencies

First, get the required dependencies, e.g. by installing either the whole
project or selected submodules from mavencentral.
project or selected submodules from maven central.
Here's an excerpt from a `build.gradle.kts` file:
```kotlin
...
Expand All @@ -23,9 +23,7 @@ repositories {
}

dependencies {
implementation("de.fraunhofer.aisec:cpg:9.0.2") // Install everything
// OR
implementation("de.fraunhofer.aisec:cpg-core:9.0.2") // Only cpg-core
implementation("de.fraunhofer.aisec:cpg-core:9.0.2") // The core functionality
implementation("de.fraunhofer.aisec:cpg-language-java:9.0.2") // Only the java language frontend
...
}
Expand Down
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ plugins {

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

include(":cpg-all")
include(":cpg-core")
include(":cpg-analysis")
include(":cpg-neo4j")
Expand Down

0 comments on commit 0272b67

Please sign in to comment.