diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c1e5c728453a0d42d04550490702f9ea7857a91..d3399cf3b1ba870b9d5c54978254134113d1d1b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ build: - "./gradlew assemble" artifacts: paths: - - "dumpAst/src/gen" + - "dumpAst.base/src/gen" expire_in: 1 week test: @@ -65,7 +65,7 @@ ragdoc_build: needs: - build script: - - JAVA_FILES=$(find dumpAst/src/ -name '*.java') + - JAVA_FILES=$(find dumpAst.base/src/ -name '*.java') - echo $JAVA_FILES | wc -l - /ragdoc-builder/start-builder.sh -excludeGenerated -d data/ $JAVA_FILES artifacts: diff --git a/dumpAst.base/build.gradle b/dumpAst.base/build.gradle index 44e60d7ee72a6b38836fb5f66c9ffb9e5c0b248e..96fd0c021d8d68a9b5cb57b7c433a157a6896a29 100644 --- a/dumpAst.base/build.gradle +++ b/dumpAst.base/build.gradle @@ -160,6 +160,8 @@ java { publishing { publications { maven(MavenPublication) { + //noinspection GroovyAssignabilityCheck + artifactId = 'dumpAst' from components.java } } diff --git a/pages/docs/adding.md b/pages/docs/adding.md index 07a828074301dd100dd34d6426de26c047df248d..2e2f9a84375a501e95467de1af6bd37e7f53d265 100644 --- a/pages/docs/adding.md +++ b/pages/docs/adding.md @@ -32,13 +32,13 @@ The normal jar does not suffice, as it lacks the information on needed dependenc git clone https://git-st.inf.tu-dresden.de/jastadd/dumpAst.git cd dumpAst ./gradlew fatJar -ls dumpAst/build/libs/ +ls dumpAst.base/build/libs/ ``` This jar can then be copied to your project. ```bash -cp dumpAst/build/libs/dumpAst-<version>.jar ../your-project/libs/dumpAst.jar +cp dumpAst.base/build/libs/dumpAst.base-fatJar-<version>.jar ../your-project/libs/dumpAst.jar cd ../your-project/ ```