diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 262bd96062b57d11e8c6ba764449055f65b1a6c2..3dea0d874cae815f83ba3448fcb8970412105ce3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,7 +17,7 @@ build:
 checkstyle_main:
   stage: check
   script:
-    - ./gradlew check checkstyleMain
+    - ./gradlew check checkstyleMain -x test
     - cp build/reports/checkstyle/main.html ./checkstyleMain.html
   artifacts:
     paths:
@@ -27,7 +27,7 @@ checkstyle_main:
 checkstyle_test:
   stage: check
   script:
-    - ./gradlew check checkstyleTest
+    - ./gradlew check checkstyleTest -x test
     - cp build/reports/checkstyle/test.html ./checkstyleTest.html
   artifacts:
     paths:
@@ -37,7 +37,7 @@ checkstyle_test:
 spotbugs_main:
   stage: check
   script:
-    - ./gradlew check spotbugsMain 
+    - ./gradlew check spotbugsMain -x test
     - cp build/reports/spotbugs/main.html ./spotbugsMain.html
   artifacts:
     paths:
@@ -47,7 +47,7 @@ spotbugs_main:
 spotbugs_test:
   stage: check
   script:
-    - ./gradlew check spotbugsTest
+    - ./gradlew check spotbugsTest -x test
     - cp build/reports/spotbugs/test.html ./spotbugsTest.html
   artifacts:
     paths:
diff --git a/build.gradle b/build.gradle
index cf739b68042a81fe48848f209064d7e79ca2047c..016b1514983591c2e3a3ed78947e5da10af5efa7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,3 @@
-import javafx.concurrent.Task
-
 /*
  * This file was generated by the Gradle 'init' task.
  *