diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07c7188a7ee338060389b20fd1cf0920561706a2..8e6daef8172029d4a559f67156a2a6a00fb052f4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,29 +4,11 @@ stages:
     - jar
     - deploy
 
-build:
-    image: openjdk:11
-    stage: build
-    script:
-        - ./gradlew --console=plain --build-cache assemble
-    cache:
-        key: "$CI_COMMIT_REF_NAME"
-        policy: push
-        paths:
-            - build
-            - .gradle
-
 jar:
     image: openjdk:8
     stage: jar
     script:
         - ./gradlew --continue --console=plain --info buildPlugin
-    cache:
-        key: "$CI_COMMIT_REF_NAME"
-        policy: pull
-        paths:
-            - build
-            - .gradle
     artifacts:
         paths:
             - "/builds/jastadd/*/build/libs/JastAddGrammar-*.jar"