diff --git a/Earthfile b/Earthfile new file mode 100644 index 0000000..0af92ac --- /dev/null +++ b/Earthfile @@ -0,0 +1,16 @@ +FROM amazoncorretto:8 + +WORKDIR cs2-editor + +gradle: + COPY build.gradle settings.gradle gradlew . + COPY ./gradle ./gradle + RUN ./gradlew build + +build: + FROM +gradle + COPY ./src ./src + + RUN ./gradlew build + + SAVE ARTIFACT ./cs2-editor-*.jar /cs2-editor.jar