From where is my Java code executing?

I've got a generic Java problem baked into a specific roadblock. I am attempting to set up Flashback on my Win10 box, but am hitting this stack trace on the command ./startAdminServer.sh -port 1234 --stacktrace java.lang.IllegalArgumentException: U...
more »

2017-03-20 22:03 (0) Answers

Test report gets overwritten

I have unit tests and integration tests in my project which are separated by @Category so they can be executed in order: test { useJUnit { includeCategories '....UnitTest' } } task itTest(type: Test, dependsOn: tasks.test) { use...
more »

2017-03-20 17:03 (1) Answers

How to require the exclusion of dependencies?

I've got an umbrella Gradle project (Android Studio, Java). I would like to require that a non-UI library does not directly or through other means depend on a UI library. Is there a standard way of achieving this? If not, what options exist? Basica...
more »

2017-03-20 15:03 (0) Answers

Android gradle Dependencies

How to add gradle dependency dynamically based on certain configuration file that tells android studio what libraries to be added to the project Thanks in advance ...
more »

2017-03-20 11:03 (1) Answers

Integrating external library into OSGI

I have been trying to fix this issue for several days now, but i seem stuck somehow. I want to develop a OSGi bundle, and my implementation requires an external library (that has some more dependencies). The situation is as follows: My project is usi...
more »

2017-03-20 11:03 (1) Answers

Proguard Duplicate Zip Entry

I am trying to run my android application through Proguard, however this keeps appearing: Warning:Exception while processing task java.io.IOException: Can't write [C:\Users\Aliaksei\AndroidStudioProjects\SignOutSystem\app\build\intermediates\transf...
more »

2017-03-19 17:03 (1) Answers

javax.persistance.Entity not getting imported?

I was trying to get my hands on spring data auditing. So I started with a simple build.gragle which I wrote below. But I was not able to get all the classes for javax.persistence.* What I mean is @Entity over any POJO was giving me cannot resolve sym...
more »

2017-03-19 16:03 (1) Answers

Android Studio Gradle Dependencies not resolving

Hi guys trying to add the following gradle dependency in an android studio project: compile "io.swagger:openalpr_api:2.0.1" Sync keeps failing saying that it is unable to resolve, have made sure global settings are not on offline and tried changin...
more »

2017-03-19 14:03 (1) Answers

Netbeans, Gradle & Java EE - "run issue"

I want to program a Java service with Netbeans and Gradle. I have the Gradle Plugin installed and a "Single Gradle Project" created. When I run the "build", the console displays "Build sucessfull". If I klick on "run project", I get this stacktrace...
more »

2017-03-19 14:03 (0) Answers

Gradle - Multiple SLF4J bindings

I am trying to use Strom with Spring Boot. I can't figure the problem out. Could you help me please Here is my Gradle dependencies buildscript { ext { springBootVersion = '1.5.2.RELEASE' } repositories { mavenCentral() ...
more »

2017-03-19 10:03 (0) Answers

Gradle inspection doesn't works fine

I have IDEA marks all inside attributes colons with warning! task configureJar (dependsOn : 'generateVersion', type : Jar) { archiveName = "${applicationName}_ver${version}.${extension}" println archiveName manifest { attributes(...
more »

2017-03-18 23:03 (0) Answers

Convert Maven dex Options to Gradle

I have tried to convert the below xml code from pom.xml into Gradle with no success. It is a dex option can someone know the right way to reproduce it in Gradle. <dex> <multiDex>true</multiDex> <mainDexList>dexli...
more »

2017-03-17 20:03 (0) Answers