Jacoco agent - no output

So here is the gist... I use docker-compose. My app is just a collection of REST services (spring boot w/ embedded tomcat) so basically I stick to testing endpoints. Whenever I wish to build project with tests (which are in a whole separate module) ...
more »

2017-06-18 22:06 (1) Answers

Hosting a maven repo on an Apache web server

I would like to host a maven repo on a static web server. I create an artifact using mavenDeployer and everything works fine: The pom file and the directory tree are well generated. When I add the local repo (file:...) to my gradle file, the depende...
more »

2017-06-18 22:06 (0) Answers

JHipster app with no database

[J]Hipsters! The 5/16 section on JHipster steps is mandatorily forcing me to choose a type of database, although I'm running another mock-service project (a SpringBoot app running using gradle) to access the database because of security reasons. So...
more »

2017-06-18 15:06 (1) Answers

Gradle tasks with different sourcesets

I have two tasks, jar and run, that both depend on the build task. When jar is called I would like it to build only files in a specific folder. Then when run is called I would like it to build the same files that jar did plus files from an additional...
more »

2017-06-17 23:06 (1) Answers

Can't add admob to libgdx project

I'm trying to add admob version 11.0.0, changed min sdk from 8 to 14 Error:Execution failed for task ':android:processDebugManifest'. > Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 14 declared in library [com.g...
more »

2017-06-17 12:06 (1) Answers

Gradle in command line or Android Studio?

I am an Android Developer, I know both the way to run Android applications. I know two ways, Download gradle and run in cmd. (Without Android Studio) In Android Studio generally, all developers do in this way. I know the major differences. Can we...
more »

2017-06-17 12:06 (1) Answers

android dependency relative path not working

Directory structure: /root/app/libs /root/app/build.gradle /root/common-libs/foo.jar bar.jar To include all the jars under /root/common-libs compile fileTree(dir: '../common-libs', include: ['*.jar']) Not working. importing...
more »

2017-06-17 07:06 (0) Answers

Invoking wsimport with custom jks

Below is my wsimport gradle which works fine with default keystore as keystore.pfx and truststore as truststore.jks task wsimport { def profile = project.hasProperty('env') ? env : 'dev' println "wsimport profile = $profile" ext.destDir ...
more »

2017-06-16 20:06 (0) Answers

gradle ssh plugin filter

In gradle ssh plugin, from the below reference I understood that you can filter files while copying from remote host to local using below line: get from: '/remote/folder', into: buildDir, filter: { it.name =~ /.xml$/ } This will get all the files w...
more »

2017-06-16 20:06 (0) Answers

Spring Boot where is the compiled jar file

I have generated a gradle project from start.spring.io using spring initializr and added a few lines to it to print out the typical hello world message as well as the name given to the url. It works as expected when run from intellij idea on localhos...
more »

2017-06-16 18:06 (1) Answers

Gradle Sync Error:(57,0)

I'm having a lot of trouble moving source code from github to Android Studio and I think a big part of the problem is with the gradle build tool files. I have never worked with android studio before and don't have a whole lot of coding experience in ...
more »

2017-06-16 18:06 (0) Answers

create Jar with native dependencies - Gradle

i'm working on a Java project that needs address parsing for that i've found the project Jpostal in Github useful, what am trying to do is to compile the Jpostal as jar to use it in my project i've managed to make it work in a ubuntu machine and am ...
more »

2017-06-16 14:06 (1) Answers

YoutubePlayer error on Android Studio Layout

I have an xml file that have to show a youtube video, I use this example: https://www.sitepoint.com/using-the-youtube-api-to-embed-video-in-an-android-app/ When I make the xml file, I have this exception: The following classes could not be instant...
more »

2017-06-16 12:06 (1) Answers

Run automated unit testing gradle with build

i have unit-testing suite it's run nicely from android studio and no problems but what i need is produce xml results report to use with CI (it's not produced when build my project produced only when run tests from android studio in path like "C:\Use...
more »

2017-06-16 12:06 (0) Answers

android gradle hang by creating new cache

I need to create a gradle build server to auto build our android project. after I set java,android sdk,gradle all done . then I copied my macbook's folder ".gradle" on this server(Just for avoid re-downloading), now I got hangged everytime after ...
more »

2017-06-16 11:06 (0) Answers