Skip to content
Snippets Groups Projects
Commit 469f5036 authored by René Schöne's avatar René Schöne
Browse files

clean up main

- use plantuml as dependency instead of as jar
parent 42ec0a70
No related branches found
No related tags found
No related merge requests found
Pipeline #12985 passed
...@@ -10,10 +10,12 @@ stages: ...@@ -10,10 +10,12 @@ stages:
build: build:
image: openjdk:11 image: openjdk:11
stage: build stage: build
before_script:
- ls -lah *
script: script:
- "./gradlew assemble" - "./gradlew assemble"
artifacts:
paths:
- "dumpAst/src/gen"
expire_in: 1 week
test: test:
image: openjdk:11 image: openjdk:11
...@@ -34,10 +36,10 @@ publish_dev: ...@@ -34,10 +36,10 @@ publish_dev:
script: script:
- "./gradlew setDevVersionForCI" - "./gradlew setDevVersionForCI"
- "./gradlew publish" - "./gradlew publish"
only: except:
- dev - main
publish_master: publish_main:
image: openjdk:11 image: openjdk:11
stage: publish stage: publish
needs: needs:
...@@ -46,7 +48,6 @@ publish_master: ...@@ -46,7 +48,6 @@ publish_master:
- "./gradlew publish" - "./gradlew publish"
only: only:
- main - main
- master
ragdoc_build: ragdoc_build:
image: image:
...@@ -57,6 +58,7 @@ ragdoc_build: ...@@ -57,6 +58,7 @@ ragdoc_build:
- build - build
script: script:
- JAVA_FILES=$(find dumpAst/src/ -name '*.java') - JAVA_FILES=$(find dumpAst/src/ -name '*.java')
- echo $JAVA_FILES | wc -l
- /ragdoc-builder/start-builder.sh -excludeGenerated -d data/ $JAVA_FILES - /ragdoc-builder/start-builder.sh -excludeGenerated -d data/ $JAVA_FILES
artifacts: artifacts:
paths: paths:
...@@ -78,7 +80,6 @@ ragdoc_view: ...@@ -78,7 +80,6 @@ ragdoc_view:
only: only:
- dev - dev
- main - main
- master
artifacts: artifacts:
paths: paths:
- "pages/docs/ragdoc" - "pages/docs/ragdoc"
...@@ -98,4 +99,3 @@ pages: ...@@ -98,4 +99,3 @@ pages:
- public/ - public/
only: only:
- main - main
- master
plugins { plugins {
id 'com.github.ben-manes.versions' id 'com.github.ben-manes.versions' version '0.36.0'
} }
build/
.gradle/
plugins {
id 'groovy-gradle-plugin'
}
repositories {
gradlePluginPortal()
}
dependencies {
implementation 'com.github.ben-manes:gradle-versions-plugin:0.36.0'
}
...@@ -25,7 +25,8 @@ repositories { ...@@ -25,7 +25,8 @@ repositories {
dependencies { dependencies {
jastadd2 "org.jastadd:jastadd:2.3.5" jastadd2 "org.jastadd:jastadd:2.3.5"
implementation fileTree(include: ['plantuml.jar'], dir: '../libs') // https://mvnrepository.com/artifact/net.sourceforge.plantuml/plantuml
implementation group: 'net.sourceforge.plantuml', name: 'plantuml', version: '1.2022.2'
api group: 'net.sf.beaver', name: 'beaver-rt', version: '0.9.11' api group: 'net.sf.beaver', name: 'beaver-rt', version: '0.9.11'
implementation group: 'com.github.spullara.mustache.java', name: 'compiler', version: "0.9.10" implementation group: 'com.github.spullara.mustache.java', name: 'compiler', version: "0.9.10"
implementation group: 'org.yaml', name: 'snakeyaml', version: '1.27' implementation group: 'org.yaml', name: 'snakeyaml', version: '1.27'
...@@ -120,12 +121,6 @@ jastadd { ...@@ -120,12 +121,6 @@ jastadd {
// --- Versioning and Publishing --- // --- Versioning and Publishing ---
group = 'de.tudresden.inf.st' group = 'de.tudresden.inf.st'
jar {
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
def versionFile = "src/main/resources/${project.getName()}Version.properties" def versionFile = "src/main/resources/${project.getName()}Version.properties"
try { try {
......
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment