Quantcast
Channel: Gradle Forums - Latest posts
Browsing all 19850 articles
Browse latest View live

Hi, im facing this error when i am trying to comit in development environment...

Thanks. Your advice works for my issues. Could not GET ‘http://repo.spring.io/milestone/org/springframework/cloud/spring-cloud-dependencies/Finchley.M9/spring-cloud-dependencies-Finchley.M9.pom’....

View Article


Mature project doesn't sign artifacts on release when run from new Mac

I have a mature Gradle project from which I’ve published many releases from a previous developer machine (Windows 7). I recently migrated to a new machine (MacBook Pro), and my artifacts are not...

View Article


Externilization of Maven repo credentials

The point is that you can’t do it for buildscript block. It’s a Gradle design limitation. There is nothing in ~/.gradle/init.d/ that helps you with buildscript block. If it is no a requirement - you...

View Article

How to make projects needing bytecode enhancement work in Eclipse (Buildship)?

Have you considered using an annotation processor instead of byte code enhancement? Have you considered transforming the source code prior to compile instead of byte code enhancement? Another option...

View Article

Gradle 6.2.2 released

See the full release notes https://docs.gradle.org/6.2.2/release-notes.html

View Article


Replace compile with api

Trying to prepare for gradle 7.0, I have tried to replace my “compile” dependencies with “api” dependencies. When I do this, however, I get Could not find method api() for arguments ... Has anybody...

View Article

Gradle 6.2.2 released

View Article

Gradle module with source, can't find module

I would like to add a module with source into an Android project. I followed the guide on creating a , Java Library. I get an error when i try to add the git library a module with source into my...

View Article


Image may be NSFW.
Clik here to view.

Flutter Build Fail

Hi, I’m trying to build the project that Flutter creates when you start a new project but I’m getting this error: image1918×1040 95.3 KB I’ve tried deleting the cache folders from .gradle but it...

View Article


Run Custom Task against dependent projects

I have created a new custom task and I am running: gradlew clean build run_scan What I want is for Gradle to apply the run_scan task across all of my projects. However, when I do a full build it…...

View Article

Gradle sync failed for android

how can i fix the following android error. Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id ‘com.android.application’ not found.

View Article

How to make projects needing bytecode enhancement work in Eclipse (Buildship)?

@Lance: Not really our choice. This is not our enhancer (it is Hibernate) and the alternatives (runtime bytecode enhancement, use of reflection and/or forcing non-private visibility and having runtime...

View Article

Build fails with "org.gradle.api.internal.provider.DefaultProviderFactory...

I recently changed the Spring Boot version of the project from 2.1.10 to 2.2.5 and the version of Gradle from 5.6.4 to 6.0.1 (in gradle-wrapper.properties: gradle-6.0.1-bin.zip). Expected Behavior No...

View Article


Gradle Build failed in Windows 10 Operating System

Problem Statement: Gradle Build failed in Windows 10 Operating System due to additional policy applied in network layer and firewall. This same setup is working fine in Mac book and Windows 7...

View Article

Gradle using artifact with classifier instead of what I asked for. New...

I would really love to see a sample with the “right way” to publish obfuscated and unobfuscated jars for a java-library. I.e. ‘unobfuscated’ for debug and internal developers and the standard output...

View Article


Gradle using artifact with classifier instead of what I asked for. New...

My initial attempts to add an unobfuscated variant results in: Windows Terminal Invalid publication ‘myLib’: Variant ‘unobfuscated’ must declare at least one attribute.

View Article

How to make projects needing bytecode enhancement work in Eclipse (Buildship)?

the source code this would cause line numbers to not match in debugging and would cause hell that way Not true, your IDE (and sources jar) would reference the transformed sources rather than the...

View Article


How to make projects needing bytecode enhancement work in Eclipse (Buildship)?

Not true, your IDE (and sources jar) would reference the transformed sources rather than the originals (aka templates) Well, exactly. Making code modifications becomes a challenge - seeing what is...

View Article

How to make projects needing bytecode enhancement work in Eclipse (Buildship)?

seeing what is wrong in one file, having to edit another Yeah, agreed its not great. Typically if I ever do this I’m creating new files rather than enriching existing

View Article

Message about archiveVersion seems misleading or incomplete...?

I’ve been confused about this too. My understanding is that the top level version property is not deprecated, only the version property in the archive tasks. I believe the archiveVersion is...

View Article
Browsing all 19850 articles
Browse latest View live