Skip to content

Commit

Permalink
fix: build issues with demo workflow (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
hazimoarafa authored Jan 31, 2025
1 parent ea33f98 commit 8c49e27
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
7 changes: 6 additions & 1 deletion demo-workflow/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'application'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}

group = 'io.littlehorse'
Expand All @@ -10,11 +11,15 @@ repositories {
}

dependencies {
implementation 'io.littlehorse:littlehorse-client:0.11.2'
implementation 'io.littlehorse:littlehorse-client:0.12.5'
implementation 'org.slf4j:slf4j-api:2.0.7'
implementation 'org.apache.logging.log4j:log4j-slf4j2-impl:2.20.0'
}

application {
mainClass = 'io.littlehorse.Main'
}

shadowJar {
mergeServiceFiles()
}
2 changes: 1 addition & 1 deletion demo-workflow/configure-littlehorse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ while ! lhctl version >/dev/null 2>&1; do
done

cd /lh
gradle run
java -jar build/libs/lh-user-tasks-bridge-demo-all.jar
lhctl run user-tasks-bridge-demo
1 change: 1 addition & 0 deletions local-dev/build-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CONTEXT_DIR=$(cd "$SCRIPT_DIR/.." && pwd)
cd "${CONTEXT_DIR}"

./local-dev/build.sh

cd "${CONTEXT_DIR}/console"
docker build -t littlehorse/lh-user-tasks-bridge-console:latest .

Expand Down
5 changes: 4 additions & 1 deletion local-dev/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ CONTEXT_DIR=$(cd "$SCRIPT_DIR/.." && pwd)
cd "${CONTEXT_DIR}"

npm install
npm run build -ws
npm run build -ws

cd demo-workflow
./gradlew build

0 comments on commit 8c49e27

Please sign in to comment.