Skip to main content

All Questions

Tagged with
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 ...
mineblock11's user avatar
-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://...
StefanoSKAL's user avatar
0 votes
0 answers
20 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 ...
Tom's user avatar
  • 1
0 votes
0 answers
74 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-...
Son Nguyen's user avatar
  • 1,504
0 votes
1 answer
60 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 ...
Mohd. Danish's user avatar
0 votes
0 answers
19 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 ...
strok_777's user avatar
  • 1,261
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 ...
Matthew Adams's user avatar
0 votes
0 answers
28 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 ...
Vincent Fumo's user avatar
0 votes
1 answer
36 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 ...
Implermine's user avatar
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 ...
Johann's user avatar
  • 29.2k
1 vote
0 answers
122 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 ...
Vencat's user avatar
  • 1,482
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) ...
elect's user avatar
  • 7,115
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 ...
meallhour's user avatar
  • 15.1k
0 votes
0 answers
21 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 ...
Simon's user avatar
  • 1
-2 votes
1 answer
46 views

Gradle build failing to get dependency from Bitbucket maven repository from branches other than master

So, I have created a custom maven repo on BitBucket. These are the steps I followed: First I created the aar of library ./gradlew :designsystem:assemble Then I published to local repo afterEvaluate { ...
imn's user avatar
  • 840

15 30 50 per page
1
2 3 4 5
163