I have a cordova 7 with multiple plugins and its already building ok with JAVA_VERSION_1_6 on target, but i builded a plugin that implements a third party SDK and these one requires JAVA_VERSION_1_8
could someone tell me how to exclude nested classes from a dependency or if that is even possible with gradle. This is what im basically trying to do,
my jar uses code from a dependency that is ...
when I started to open my old projects which migrated to android x , build output showed this error my old project
also when I create new project , and migrate to android x , this error showed up.
Given I have Gradle project with Gradle wrapper enabled.
Content of gradle-wrapper.properties is following:
Normally, I do not ask questions here, but problems I face up is so eerie that I can't fight it alone no more, I'm exhausted. Anyway, I'm going to describe everything I have found and I have found ...
The last comment in https://github.com/johnrengelman/shadow/issues/138 has an example of defining multiple shadowJars. I've tried without success to come up with a version that worked in kotlin DSL. ...
When I try to execute a flutter project in Android Studios, the emulator appears but nothing happens. Adn the only message that appears in the program is:
"BUILD FAILED in 18s
Finished with error: ...
What is this kotlin("...") method described in Kotlin's "Using Gradle" tutorial? They mention this syntax.
kotlin("jvm") version "1.3.71"
I see it used in more places too, not just ...
I recently updated gradle and android studio to 3.6.1 version. but, it always fails to build apk file and show the following error:
* What went wrong:
Execution failed for task ':app:...
I'm trying to build an app with Gradle (1.5.2). The app and script is 100% work, so there are no hesitations about it. But I get the following error when running Gradle script or this command gradlew -...
I am having troubles with seting up 3 level gradle multi-project:
│ ├── Level_3_Proj_C
│ └── Level_3_Proj_D
My team is converting their Gradle scripts from Groovy to Kotlin, and there is some behavior that we're struggling to replicate with Kotlin script gradle.
Sometimes we only apply and configure a ...
Could not initialize class org.jetbrains.kotlin....
I have got a very basic build.gradle file.
id 'org.springframework.boot' version '2.2.5.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
I am having trouble understanding the difference between the api and implementation configurations in Gradle. I know this has been asked before, but they seem to behave exactly oppositely of how ...
gradle is loading my project's dependency guice-3.0.jar, but guice's dependencies are NOT being loaded by gradle.
guice-3.0.jar > META-INF > DEPENDENCIES (file) has the following ...
Before asking my question I'd like to apologize if this is really a
I'm trying to find out the way, where we can locate and reuse the dependencies of Gradle and Maven. I want to ...
This must be a very simple task for many of you. Let me explain the scenario.
I recently started practicing questions on HackerRank. But, I found the platform not so friendly for debugging. No online ...
I have simple java 9 and gradle application. I have added some external dependency to the application. When I try to run gradle task createFinalAppBundle, I am getting following error,
error: module ...
I have an error when I`ll trying push project to git.
Execution failed for task ':buildSrc:compileGroovy'.
> BUG! exception in phase 'semantic analysis' in source unit Unsupported class file ...
I am building an android application. When i try t run the application iam getting an error
org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler ...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.testng.xml.XMLParser (file:/C:/Windows/System32/config/systemprofile/.gradle/...
I have gone through this problem twice and wondering if there is a solution for it:
Let's say I have a project Project which depends on SomeClass. SomeClass depends on Dependency version n.
I'm using the Hateoas module to create a link. The problem is that the of function is used in the official document, but the function cannot be used in my Link object. What's the solution?
I should install minecraft forge.
I write gradle command.
This command is run well.
But next command is not working
This is ...
I have SpringBoot project that generates both a deployable and an executable WAR file using the SpringBoot Gradle plugin. I want to update a .properties file inside of both WAR files. My files look ...
I am converting our current Ant build application to use Gradle. I can create a compile task which works when I use Gradle's remote dependency management through the Maven repository, but when I ...
I've just installed Gradle, I tried putting in the Environment Variable so Windows will know where to look for Gradle. I believe I've done everything by the book. But when I type, Gradle -v, I ...
I'm trying to import a Gradle project in my workspace. I'm doing that like my other coworkers. I specify that the project works for others :
File/import.../Existing Projects into Workspace/select ...
my problem is that when I run my java gradle project via ./gradlew <myRunTask> the java.util.Scanner does not listen to further console input. When I run the main method in eclipse it works ...
First Error Screen
Second Error Screen
I am running the selenium example code:
I have a problem with gradle. I am trying to run axelors open-platform-demo. I clone the git repository from here https://github.com/axelor/open-platform-demo
When i run this command: .\gradlew -x ...
I'm working in a quite complex app that for some reason, gradle bootRun works as expected but when gradle bootjar or gradle build is used to then execute the packaged jar with java -jar pathtojar, it ...
I am new to JaCoCo usage. I am working on a Spring Boot project (using Gradle).
I am trying to find a way to ensure a 80% coverage for a specific package.
I would like to make to whole test fail if ...
As mentioned in the headline, I'd like to add Factes to Intellij via gradle buildscripts build.gradle.
The documentation states to apply the idea plugin and interact with the given objects.
I am trying to execute a gradle task(appengineDeploy) on eclipse. I have used the boilerplate code provided in this link.
Also I followed the exact steps given in this video.(except in eclipse)
I am ...
I have updated my app to androidX and my app starts to freeze. Before my update to androidX everything was fine, but now I had have a freeze app. Each of screen is freeze, all animations is freeze. I ...
I am reading the book "Pivotal Certified Professional Core Spring 5 Developer Exam
A Study Guide Using Spring Framework 5" to get to know spring and hopefully get certified.
When i clone the code from ...
Here is what my library project looks like,
| |-- build.gradle
| |-- implementation project(":lib-b")
| |-- apply plugin: 'maven'
| |-- build....
I am getting below error while running Gradle build in Unix terminal.
Could not resolve all files for configuration ':imcalmsvc-service:compileClasspath'.
Could not find javax.inject:javax.inject:...
I am trying to exclude application.properties from the fat jar created by gradle for a Springboot application. I can do it in maven. Gradle is the preferred build tool for the project. I tried to used ...
Could not determine the dependencies of task :app:compileDebugJavaWithJavac.
> Could not resolve all task dependencies for configuration ':app:debugAnnotationProcessorClasspath'.
> Could not ...
Currently lintRelease, task depends on the compilation task, and for some modules (which I dont care about since its only used for testing purposes), I want lintRelease to do nothing, just print Not ...
I have an Android app using Gradle with Kotlin DSL. I'm adding Firebase Performance Monitoring, but I would like for it to be enabled only for a specific build type.
I've been following the ...
When introducing here sdk3.14, and the build project fails when minifyEnable is turned on.
it is log
Unexpected error while performing partial evaluation:
Class = [com/here/odnp/cell/...
I have a multi module project. One module is an android app and one is a spring-boot based server that I'm trying to run on Heroku. I first setup the android app and then added the Heroku module using ...
I am trying to setup Kafka dev environment on eclipse on windows. The instructions ask me to execute ./gradlew eclipse. I get the following error when i try to execute this from cygwin
I have a web app which was initially a maven project which I was running on server on tomcat v.9.0. I migrated this project to gradle and I am now trying to deploy it to server on tomcat v.9.0 aswell ...
I have been trying to migrate a maven project I developed to gradle. I have encountered the following error when running
./gradlew clean build
Below is the error I am getting
Execution failed for ...