Giter VIP home page Giter VIP logo

Comments (6)

bat-cha avatar bat-cha commented on August 27, 2024

Hello, I'm using 1.3 in the wrapper tasks only, I'll check but it should support earlier version too as I m only relying on the gradle wrapper (gradlew or gradlew.bat) and the maven plugin to install the git dependencies to your local maven repo... I'll check and confirm....

from gradle-plugin-git-dependencies.

bat-cha avatar bat-cha commented on August 27, 2024

Ok I've just checked using this branch on this dummy project:

https://github.com/bat-cha/dummy-java-project-b/tree/gradle1.2

and it worked fine so I guess the plugin supports any gradle version as long as they are compatible with the wrapper and maven plugin (that should be used in the dependencies....)

Do not hesitate to open more issues if you have any !
Thanks again
Bat

from gradle-plugin-git-dependencies.

wjwarren avatar wjwarren commented on August 27, 2024

Great thanks! I guess it is an issue with the set up of my dependency.
(I was about to comment that your testProject built just fine.)

from gradle-plugin-git-dependencies.

wjwarren avatar wjwarren commented on August 27, 2024

Actually, I'm not too sure about it anymore.
I removed the local Maven repo (.m2\repository\org\batcha) and after that it seems to fail.

:resolveGitDependencies
:compileJava

FAILURE: Build failed with an exception.

What went wrong:
Could not resolve all dependencies for configuration ':compile'.
Could not find group:org.batcha, module:dummy-project-a, version:4.2.
Required by:
org.batcha.gradle.plugins:testProject:1.0

The repo at that point has, however, been recreated.

When you run the script again, it succeeds.

from gradle-plugin-git-dependencies.

bat-cha avatar bat-cha commented on August 27, 2024

Hello Wijnand,

I've indeed been able to reproduce this, it appears that sometimes the install to mavenLocal is not yet finished but gradle go on to the next task and failed.
I've opened an issue #3 and already have commited fix for it...
I'll notify as soon as it is available on maven central, in the mean time if you have cloned the repo, you can do ./gradlew install to use the latest version and it should solve your problem

from gradle-plugin-git-dependencies.

wjwarren avatar wjwarren commented on August 27, 2024

Thanks again! 👍

from gradle-plugin-git-dependencies.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.