Spark Submit not able to pick classpath from jar

i have created a spark job which will get data from one cassandra table and insert into another table, i am using gradle to build the jar file some how i am able to create a jar with all dependencies , i am using the below command to trigger spark jo...
more »

2017-08-19 20:08 (1) Answers

Unable to run gradle command inside Jenkins

I am trying to run Gradle in Jenkins but when it runs, it exits with the following error + gradle war --offline ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(51...
more »

2017-08-19 20:08 (1) Answers

Gradle - Package Project to be used as dependency

I have a Spring project using Gradle that I want to package and upload to a maven repository to be used as a dependency in other Gradle projects. I tried using the maven-publish plugin to do this but the generated JAR has two issues - 1. it is gener...
more »

2017-08-19 16:08 (0) Answers

Build .jar file from Github project

I want to change code from this this Github project. I loaded the project, applied the change and what next? I tried to run grandlew.bat that created .gradle folder but it is empty. How can I create .jar file? ...
more »

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

how to deploy to Glassfish with Gradle?

How does Gradle deploy to Glassfish? Ant example: <target name="deploy" description="deploys application to glassfish"> <exec failonerror="true" executable="cmd"> <arg value="/c" /> <arg value="asadmin --use...
more »

2017-08-19 06:08 (0) Answers

Netbeans removes Glassfish import statements

Based on this question and this sample code, specifically the testUnknownFeature method, my build file: plugins { id 'com.gradle.build-scan' version '1.8' id 'java' id 'application' } mainClassName = 'net.bounceme.doge.json.Main' buil...
more »

2017-08-19 06:08 (0) Answers

Using google() as a repository doesn't work

When using google() as a repository on gradle with the plugin 2.3.3 on Android Studio 2.3.3 I get the following error: Error:(18, 0) Gradle DSL method not found: 'google()' Possible causes:<ul><li>The project 'MyProject' may be using a v...
more »

2017-08-19 02:08 (1) Answers

Using vertx TestSuite with junit

I been following vertx junit integration example, but I don't understand how to run TestSuite from junit @test method or junit @Suite.SuiteClasses? @RunWith(VertxUnitRunner.class) public class RunOnContextJUnitTestSuite { @Rule public RunTestOn...
more »

2017-08-18 21:08 (1) Answers

Gradle suddenly broke

I haven't modified any build files (and even tried reverting code), but Gradle started crashing on this: FAILURE: Build failed with an exception. * What went wrong: A problem was found with the configuration of task ':macros:compileScala'. > No ...
more »

2017-08-18 19:08 (1) Answers

UiAutomator inside Java Project

I'm currently writing a program crawling third party Android Apps for keywords. I have a Maven Project and am trying to include the uiautomator library provided by Google. (like described here and here) There are some issues though. What I've done s...
more »

2017-08-18 15:08 (0) Answers

Include tests from other module

My project looks like this: ├───module1-test-cases │ └───src │ └───test │ └───groovy │ └───specs │ └───module1test └───module2-test-c...
more »

2017-08-18 12:08 (1) Answers

Kotlin and Gradle - Reading from stdio

I am trying to execute my Kotlin class using the command: ./gradlew -q run < src/main/kotlin/samples/input.txt Here is my HelloWorld.kt class: package samples fun main(args: Array<String>) { println("Hello, world!") val lineRe...
more »

2017-08-18 03:08 (1) Answers