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 ArticleMature 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 ArticleExternilization 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 ArticleHow 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 ArticleGradle 6.2.2 released
See the full release notes https://docs.gradle.org/6.2.2/release-notes.html
View ArticleReplace 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 ArticleGradle 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 ArticleFlutter 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 ArticleRun 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 ArticleGradle 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 ArticleHow 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 ArticleBuild 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 ArticleGradle 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 ArticleGradle 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 ArticleGradle 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 ArticleHow 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 ArticleHow 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 ArticleHow 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 ArticleMessage 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