Having some trouble sending requests with Kotlin through Ktor. Android Studio doesn't seem to recognize the JSON serialization imports I'm trying to use. Here are the dependencies in my build.gradle.kts (:app): implementation("io.ktor:ktor- ...
I am relatively new to gradle and npm, delving into the world of creating a grails3 - angularjs2 sample application. Here is the link to the application I am working on: https://github.com/agileorbit/grails3-angular2-starter However, when attempting to r ...
I am currently working on a Spring Boot application with a React front end. In my project, I have node dependencies managed by package.json and Spring Boot dependencies handled by Gradle. As I prepare to build a jar for my production environment, I am unc ...
I have successfully upgraded all gradle dependencies of an old android app to the latest versions and the app is building and running properly. However, when I updated the Material dependency from com.google.android.material:material:1.1.0 to the latest co ...
I recently decided to give Gradle a try, even though I had no prior experience with it. Surprisingly, I have been able to accomplish what I set out to do and am quite pleased with the outcomes. However, I encountered an issue when running Selenium tests wi ...
Can anyone provide the syntax for adding Selenium as a dependency using the Gradle Kotlin DSL? Error: thufir@dur:~/NetBeansProjects/HelloKotlinWorld$ thufir@dur:~/NetBeansProjects/HelloKotlinWorld$ gradle clean > Configure project : e: /home/thufir/ ...
What is the most effective approach to deploy the Grails3 war with an Angular profile (specifically Angular2)? My project is in Grails 3.2.9 and runs smoothly in development mode. I'm looking for a streamlined gradle build command that can create a conso ...
I've been searching high and low for a solution to my problem with no luck, so I'm turning directly to you. Is there any way to display TestNG's Reporter output in Gradle HTML reports? Here's the scenario: I have multiple testNG test methods that use Repo ...
In my current project, I am attempting to compile a Gradle project within a Docker container using Jenkins. After logging into a private repository to retrieve the image for the build step and initiating the build process, I encountered an npm error messag ...
I completed running tests with the first command and then generated a report using the last command to view it. As I am new to using Allure reports, I would appreciate some guidance on how to interpret the report. Project Details Gradle: 7.2 Kotli ...
Let's say I have a task called "xxx" in my package.json file. To run this task using npm directly, I would use: npm run xxx. I can also include additional arguments when running the task like this: npm run xxx -- more arguments for xxx. With the gradle- ...
Recently, I made the switch from using TestNG assertions to AssertJ and I have been enjoying the increased flexibility it offers. However, I am encountering a problem with multiple failures when running certain Selenium tests. Specifically, I am checking p ...
After successfully creating an Ionic 6.19.1 application, I incorporated the variables.gradle file and ran the "ionic capacitor run android" command without any issues. Here are the variable details: ext { minSdkVersion = 26 compileSdkVersion = 30 ...
When building a Kotlin multiplatform library using Gradle, I utilize the org.jetbrains.kotlin.multiplatform plugin. The library is built for mobile, Java, and JavaScript platforms. The problem arises when this plugin only publishes the output into a Maven ...
I'm having trouble grasping the syntax of Gradle tasks. After following a tutorial, I created a build.gradle file for building Angular4/SpringBoots projects with Gradle. The build.gradle file includes several task blocks: // added our development build ...
Something seems off with my App as it won't start up on my AS Emulator. Everything was running smoothly yesterday, but today it's not working - possibly due to me moving the npm and npm-cache folders, although they are configured correctly with n ...
Encountering an exception while trying to parse the JSON request body, The issue arises from a special character "®" (non UTF-8) in the request body, leading to parsing failure. How can one effectively handle non UTF-8 characters within the req ...
Can a test be marked as passed in Java, Gradle, TestNG, and Selenium if the @afterClass method fails but the @Test method passes? In Gradle, the report marks the test as a failure. However, in TestNG reports, the test is marked as a pass while the afterCl ...
I'm encountering difficulties while trying to run an older project. I will update it once I am able to successfully open it. Whenever I use ./gradlew build, I receive this message: https://i.stack.imgur.com/tYinI.png This is the content of my build.grad ...
Attempting to implement both Google Maps and FCM in a single React Native project has proven challenging. Initially adding FCM went smoothly, but upon integrating Google Maps, an error surfaced: https://i.stack.imgur.com/katfd.png After extensive research ...
I'm experiencing a build failure on android and after 3 hours of trying, I still can't figure out how to fix it. Here is the log that I got: ANDROID_HOME= C:\Users\User\AppData\Local\Android\Sdk JAVA_HOME=C:&bso ...
Currently, I am working on a Spring MVC application that incorporates TypeScript. The TypeScript code is transpiled using a Gradle task from the directory src/main/ts to build/ts. Subsequently, the resulting JavaScript files are added to the WAR file usin ...
After accidentally unlinking react-native-reanimated from my App, I started encountering a specific error. It's worth noting that I recently upgraded to macOS Ventura 13.2.1 The issue arises when running npx react-native start, which results in a failing ...
I am attempting to extract the key and value from a JSON string. Since I do not have prior knowledge of the key, I am unable to directly access the corresponding value using the key. Instead, I need to retrieve the key and value separately. JsonObject json ...