Skip to content

Commit 2a059cd

Browse files
committed
Temporarily use forked version of diskord to workaround issues
1 parent a25553d commit 2a059cd

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
FROM eclipse-temurin:17-jdk-alpine AS build
1+
FROM eclipse-temurin:17-jdk-focal AS build
22
WORKDIR /build
33

44
ADD . .
5+
RUN apt-get update && \
6+
apt-get install -y git && \
7+
git clone https://gitlab.com/Maxr1998/diskord.git -b deploy --depth 1 /diskord
8+
RUN cd /diskord && \
9+
./gradlew publishJvmPublicationToMavenLocal && \
10+
cd /build
511
RUN ./gradlew shadowJar
612

713
###

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
44

55
allprojects {
66
repositories {
7+
mavenLocal()
78
mavenCentral()
89
maven { url = uri(SONATYPE_SNAPSHOTS_REPO) }
910
}

0 commit comments

Comments
 (0)