Gradle build fails on news mac

I try to compile my Gradle/Kotline Project on my new Mac and getting the same error 'Resource not found'-like errors for all my gradle projects. Any ideas whats wrong? The same project for example works on the latest Docker 'primetoninc/jdk'. mac:n...
more »

2017-10-04 23:10 (0) Answers

gradle - jacocoTestReport generates no report

I am trying to generate jacoco report for multiple subprojects, 'adapter', 'application', 'domain', 'test'. I have build.gradle for the root project as follows. allprojects { apply plugin: 'jacoco' apply plugin: 'eclipse' apply plugin: 'io.spring.d...
more »

2017-10-04 18:10 (0) Answers

connect my spring boot project to a mysql database

I am trying to connect my spring boot project to mysql database but i keep encountering an error but cant seem to work out what it is. spring.jpa.hibernate.ddl-auto=create spring.datasource.url=jdbc:mysql://localhost:3306/mydb?useSSL=false spring.da...
more »

2017-10-04 17:10 (2) Answers

Rebuild project in Android Studio MD5 hash

I am getting this message when I try to Rebuild my project but when I run the project everything works well, please any help? Error:Failed to capture snapshot of output files for task 'mockableAndroidJar' property 'outputFile' during up-to-date chec...
more »

2017-10-04 14:10 (0) Answers

Gradle War adds extra jar files under WEB-INF/lib

I am new to Gradle. With Gradle I am having multi project build files. Most of the project build files are properly configured and works fine and generates correct output. I am trying to convert one of the projects from ANT build to Gradle build. I a...
more »

2017-10-04 12:10 (0) Answers

How to add plugin to init.gradle?

I need to add mirror repositories to Gradle. For that I use gradle-maven-plugin Is it way to add this plugin to init.gradle? I tried to add like this: buildscript{ repositories { maven { url "https://plugins.gradle.org/m2/...
more »

2017-10-04 11:10 (0) Answers

Deploying Vaadin/SpringBoot as WAR

Am trying to deploy a minimal Vaadin/SpringBoot application as a WAR file into a stand-alone Tomcat. Everything works if I run gradle vaadinRun and access under localhost:8080, but creating the WAR file with gradle war and then copying it into the w...
more »

2017-10-04 10:10 (1) Answers

Generating Gradle-like Test Reports from Maven

I've worked with multiple Gradle projects that generate reports in the format pictured below. I like this format: it presents the information I require in a concise and intuitive format. Question: Is it possible to generate reports in an identical f...
more »

2017-10-04 07:10 (1) Answers

Android studio build apk failed

I get this following error while generating apk or when I am trying to deploy the app to a device, I restarted studio after deleting the .gradle and build folder but it didn't help i has tried the invalidate cache and restart option still i get this ...
more »

2017-10-03 13:10 (1) Answers

Gradle build failed with Kotlin, Scala and Java

I have a project written in Java, Scala and Kotlin. But when I build this project in Gradle, it error with message: 11:19:51: Executing task 'build'... :compileKotlin Using Kotlin incremental compilation e: F:\Code\Project\Avalon\src\main\kotlin\a...
more »

2017-10-03 05:10 (1) Answers

Gradle plugin 3.0 rewrite versionName

I migrated to Android studio 3 and using gradle plugin v3.0.0-beta6. I would like to rewrite versionName/vesionCode of output .apk files. I used following code for gradle plugin 2.x in the build.gradle of my Android app module applicationVariants.a...
more »

2017-10-02 11:10 (0) Answers

Cannot Undo Affect of Exclude Module in Gradle

I was playing around with a library I made that uses Eventbus. First I included the library like so in my app: implementation project(':mylib') and I was able to use Eventbus in the app no problem. Then I tried the following in the same file just ...
more »

2017-09-27 19:09 (1) Answers