All Questions
2,442
questions
0
votes
1
answer
40
views
How to add a maven dependency in gradle 8.x
My react-native android project is running on Gradle v8.3. I have files like settings.gradle and build.gradle in my android project.
The problem I'm having is when I try to implement PendoSDK for ...
0
votes
0
answers
18
views
How can I warn users when they download an outdated jar from my maven repository in gradle?
Essentially, I'm looking for a way to output a warning message to gradle when a user has a dependency on one of my older jars from my maven repository. Is this even possible?
Eg: "You've ...
-1
votes
0
answers
17
views
Gradle maven repo fallback failure
In my gradle.build I defined as follow the block:
repositories {
maven {
url 'https://artifactory.mycompany.com/artifactory/maven-remote'
}
mavenCentral()
}
The first url defined 'https://...
0
votes
0
answers
27
views
React Native Gradle fails to resolve local maven-repo
I am trying to build a React Native Package which uses an .aar file for the Android. The .aar file is for internal usage only, thus not shared on a public maven repo. I've created the maven repo ...
0
votes
0
answers
84
views
GCP Cloud Build failed 401 Unauthorized even when Artifact Registry Administrator is granted
I'm trying to use GCP Cloud Build to automate my deployment, but I'm getting 401 error when it tries to pull dependency from Artifact Registry:
Could not GET 'https://europe-west1-maven.pkg.dev/myapp-...
0
votes
1
answer
64
views
how to connect to an azure artifacts feed and publish maven artifacts using gradle
how to connect to an azure artifacts feed and publish maven artifacts using gradle from my yaml azure pipeline, i want to publish my artifact in azure artifact such that my maven central dependenceis ...
0
votes
0
answers
21
views
Not able to consume Gradle Plugin Snapshot
Hello Gradle community,
I recently upgraded my project from Gradle 8.2 to 8.4, and I'm facing an issue with consuming snapshot dependencies from my Maven repository, where I have a Gradle plugin ...
0
votes
0
answers
27
views
What's the best practice in a Spring Boot 3 project using Gradle Kotlin to publish Maven artifacts of both the fat jar and an openapi json document?
Environment:
Spring Boot 3 app written in Kotlin (bootstrapped from https://start.spring.io)
Gradle Kotlin 8.7
Requirements:
Publish generated openapi json specification as a Maven artifact
Publish ...
0
votes
0
answers
29
views
Replicating maven branch and release using Gradle
I'm moving from Maven to Gradle and have been happy so far. However, I'm stuck on the correct workflow to replicate maven branch and maven release.
My git workflow is setup like this:
The most recent ...
0
votes
1
answer
38
views
The download sources feature does not work in certain intellij versions
In IntelliJ IDEA 2024.1.2 (Ultimate Edition), when I clicked on Download Sources next to the text "Decompiled .class file, bytecode version: 52.0 (Java 8)" at the top to view the @Async ...
0
votes
0
answers
20
views
Generate a zip file for Maven using the Maven plugin for Gradle
I'm using the Maven plugin for gradle to publish to Sonatype's Maven repository. In the past I just used one of the gradle tasks to publish my artifacts. But Sonatype changed their system earlier this ...
1
vote
0
answers
130
views
Gradle error: Unsupported class file major version 63
In a Gradle project, how do I ensure that the downloaded Maven dependency libraries are compiled with the compatible Java version used in my project? I'm using Java version 17 in the project, but if a ...
0
votes
0
answers
22
views
How to properly inject other files in a Maven POM publication?
So, I've been trying to create a Gradle counterpart of the SciJava POM for a while now
The idea is the following: publishing the Gradle Catalog (toml file) and Grade Platform (module/json file) ...
0
votes
0
answers
31
views
Gradle: applying plugin from local Maven repository [duplicate]
I have successfully published the artifact into my local m2 repository at location: .m2\repository\com\example\gradle-binary-plugin\1.0
The name of the plugin is gradle-binary-plugin-1.0.jar
Now, I ...
0
votes
0
answers
22
views
Import jar that uses Maven in Android Studio
I've finished a Maven Project that includes a SpringBoot Server.
I packed the server into a jar and it's runnable.
After running it from my phone and it worked, I thought it would be nice to have an ...