Hi I am trying to build Android apk and I get the following errors when I run the shell script. Could you suggest what I can do to resolve this please. I have latest JAVA installed Error I get is Answer You are using two JVM options that are no longer available in recent Java versions: The MaxPermSize option has
Tag: gradle
Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8
I’m trying to use a physical Android device to test/debug my React Native project. I connected the device to my Windows 11 machine via USB and turned on Developer mode on the device but when I tried to run my project, I got an error stating the following: Android Gradle plugin requires Java 11 to run. You are currently using
Unable to generate interface with openapi-generator-gradle-plugin
I’m trying to generate models and controller interfaces with openapi-generator-gradle-plugin. The problem I’m having is that the plugin in generating classes instead of interfaces. A generated class looks like this: While I’m trying to generate an interface, so that I can implement it in my rest controller. When looking at the configuration, I assumed that the interfaceOnly parameter will make
Failed to read key key1 from store even tho key is 100% correct
I am trying to create a release build for my app, but no matter what I do, it does not work. I get this error everytime: Task :app:packageRelease FAILED I created so many keys and passwords and this time (every time created it new), but it always says “keystore password was incorrect” even tho it is 100% correct!! gradle properties
What is the current version of log4j-nosql and is it save?
For obvious reasons I am trying to update log4j to version 2.15. However the submodule log4j-nosql seems to be discontinued after 2.9.1: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-nosql/ Is updating this submodule necessary? Which submodule contains the exploit? Answer I see no evidence that it’s “discontinued”, it’s just effectively feature-complete. They haven’t needed to update it, so they haven’t updated it. Is updating this submodule
gradle publishing project-version-PLAIN.war file instead of project-version.war
When I run “gradle build”, it generates a build/libs/project-version.war file which is able to run by itself with “java -jar” command. But when I run “gradle artifactoryPublish”, it saves on the artifactory repository a “project-version-plain-war” file which does not have tomcat embedded. I am following this instruccions https://www.jfrog.com/confluence/display/JFROG/Gradle+Artifactory+Plugin The lines added to the gradle.build are something like this: help is
gradle runtime dependency makes test fail because of jackson dependencies issue
On a JEE project running on Wildfly 15, I am trying to configure the logs to be in json format. Replicating what I have done dozens of times for some more recent Spring Boot projects, I am adding net.logstash.logback:logstash-logback-encoder:6.6 as a runtimeOnly dependency, as I plan to have a logback.xml config file. When building my application and running the test,
Gradle: Exclude file from resourses and add it from different folder
I am trying to build a jar file with Gradle. I have some resource files (like log4j2 and persistent.xml) into the src/main/resources that I want to exclude when I was built the jar, on contrary I have the same files (with different content in a project directory) and I want to copy these files rather than the src/main/resource files. Into
IllegalArgumentException at MetamodelImpl.java gradle build error
I keep on getting a IllegalArgumentException at MetamodelImpl.java and I am not sure what is causing it. I pulled a brand new Spring project from start spring io just with basic Web, Lombok and JPA dependencies. I tried building it with gradle doing ./gradlew clean build and it keep throwing this error. Here is my build.gradle: and my gradle wrapper.properties:
Customize Manifest in War task
I need to modify Manifest file during the assembly of WAR file. I need to add a list of all files on a class path to avoid java.io.IOException: CreateProcess error=206, The filename or extension is too long exception being thrown when I want to execute this java file on Windows machine. Declared directly in build script this task does the