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
Pipeline #12985 passed with stages
in 2 minutes and 5 seconds
......@@ -10,10 +10,12 @@ stages:
build:
image: openjdk:11
stage: build
before_script:
- ls -lah *
script:
- "./gradlew assemble"
artifacts:
paths:
- "dumpAst/src/gen"
expire_in: 1 week
test:
image: openjdk:11
......@@ -34,10 +36,10 @@ publish_dev:
script:
- "./gradlew setDevVersionForCI"
- "./gradlew publish"
only:
- dev
except:
- main
publish_master:
publish_main:
image: openjdk:11
stage: publish
needs:
......@@ -46,7 +48,6 @@ publish_master:
- "./gradlew publish"
only:
- main
- master
ragdoc_build:
image:
......@@ -57,6 +58,7 @@ ragdoc_build:
- build
script:
- JAVA_FILES=$(find dumpAst/src/ -name '*.java')
- echo $JAVA_FILES | wc -l
- /ragdoc-builder/start-builder.sh -excludeGenerated -d data/ $JAVA_FILES
artifacts:
paths:
......@@ -78,7 +80,6 @@ ragdoc_view:
only:
- dev
- main
- master
artifacts:
paths:
- "pages/docs/ragdoc"
......@@ -98,4 +99,3 @@ pages:
- public/
only:
- main
- master
plugins {
id 'com.github.ben-manes.versions'
id 'com.github.ben-manes.versions' version '0.36.0'
}
plugins {
id 'groovy-gradle-plugin'
}
repositories {
gradlePluginPortal()
}
dependencies {
implementation 'com.github.ben-manes:gradle-versions-plugin:0.36.0'
}
......@@ -25,7 +25,8 @@ repositories {
dependencies {
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'
implementation group: 'com.github.spullara.mustache.java', name: 'compiler', version: "0.9.10"
implementation group: 'org.yaml', name: 'snakeyaml', version: '1.27'
......@@ -120,12 +121,6 @@ jastadd {
// --- Versioning and Publishing ---
group = 'de.tudresden.inf.st'
jar {
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
def versionFile = "src/main/resources/${project.getName()}Version.properties"
try {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment