Build starting... Start: Wed Dec 30 21:10:37 UTC 2020 58478f73efa0 Git: 5.0.0-SNAPSHOT-0-gc8565cf commit c8565cfae633154a5fbc1576e7f9ab7a9a52686b Author: Surat Das Date: Wed Dec 30 14:23:30 2020 -0500 Fixed codacy and CI errors. Found gradle Gradle build script Found gradle version: 6.1. Using gradle wrapper Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2 Downloading https://services.gradle.org/distributions/gradle-6.1-all.zip .10%.20%.30%.40%.50%.60%.70%.80%.90%.100% ------------------------------------------------------------ Gradle 6.1 ------------------------------------------------------------ Build time: 2020-01-15 23:56:46 UTC Revision: 539d277fdba571ebcc9617a34329c83d7d2b259e Kotlin: 1.3.61 Groovy: 2.5.8 Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 JVM: 1.8.0_252 (Private Build 25.252-b09) OS: Linux 4.18.0-25-generic amd64 Getting tasks: ./gradlew tasks --all 0m4.198s Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2 Tasks: Found javadoc task WARNING: Gradle 'install' task not found. Please add the 'maven' or 'android-maven' plugin. See the documentation and examples: https://jitpack.io/docs/ Looking for android-library Looking for com.android.application Adding maven plugin Running: ./gradlew clean -Pgroup=com.github.Visual-Regression-Tracker -Pversion=5.0.0-SNAPSHOT -xtest install Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2 > Task :clean UP-TO-DATE > Task :generateLombokConfig > Task :compileJava FAILED /home/jitpack/build/src/main/java/io/visual_regression_tracker/sdk_java/VisualRegressionTracker.java:12: error: package java.net.http does not exist import java.net.http.HttpClient; ^ /home/jitpack/build/src/main/java/io/visual_regression_tracker/sdk_java/VisualRegressionTracker.java:13: error: package java.net.http does not exist import java.net.http.HttpRequest; ^ /home/jitpack/build/src/main/java/io/visual_regression_tracker/sdk_java/VisualRegressionTracker.java:14: error: package java.net.http does not exist import java.net.http.HttpResponse; ^ /home/jitpack/build/src/main/java/io/visual_regression_tracker/sdk_java/VisualRegressionTracker.java:139: error: package HttpRequest does not exist private HttpResponse getResponse(METHOD method, String url, HttpRequest.BodyPublisher body) throws IOException, InterruptedException { ^ /home/jitpack/build/src/main/java/io/visual_regression_tracker/sdk_java/VisualRegressionTracker.java:139: error: cannot find symbol private HttpResponse getResponse(METHOD method, String url, HttpRequest.BodyPublisher body) throws IOException, InterruptedException { ^ symbol: class HttpResponse location: class VisualRegressionTracker /home/jitpack/build/src/main/java/io/visual_regression_tracker/sdk_java/VisualRegressionTracker.java:154: error: package HttpRequest does not exist protected HttpRequest getRequest(METHOD method, HttpRequest.BodyPublisher body, HttpRequest.Builder requestBuilder) { ^ /home/jitpack/build/src/main/java/io/visual_regression_tracker/sdk_java/VisualRegressionTracker.java:154: error: package HttpRequest does not exist protected HttpRequest getRequest(METHOD method, HttpRequest.BodyPublisher body, HttpRequest.Builder requestBuilder) { ^ /home/jitpack/build/src/main/java/io/visual_regression_tracker/sdk_java/VisualRegressionTracker.java:154: error: cannot find symbol protected HttpRequest getRequest(METHOD method, HttpRequest.BodyPublisher body, HttpRequest.Builder requestBuilder) { ^ symbol: class HttpRequest location: class VisualRegressionTracker /home/jitpack/build/src/main/java/io/visual_regression_tracker/sdk_java/VisualRegressionTracker.java:165: error: cannot find symbol protected T handleResponse(HttpResponse response, Class classOfT) { ^ symbol: class HttpResponse location: class VisualRegressionTracker 9 errors FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileJava'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 2s 3 actionable tasks: 2 executed, 1 up-to-date Build tool exit code: 0 Looking for artifacts... Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2 Looking for pom.xml in build directory and ~/.m2 2020-12-30T21:10:55.77624604Z Exit code: 0 ERROR: No build artifacts found