diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index abb1aeb0b61ba41bb44548f9ca4428b3696acfd7..aaf287dde0c94f572a3d1665d325dbac92eefdce 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,7 +18,7 @@ test:
     - set -e
     - export GRADLE_USER_HOME=$PWD/.gradle
   script:
-    - ./gradlew --no-daemon check lint
+    - ./gradlew --no-daemon check lint --stacktrace
   after_script:
     # these file change every time and should not be cached
     - rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock