Comments (6)
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.
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.
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.
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
:compileJavaFAILURE: 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.
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.
Thanks again! 👍
from gradle-plugin-git-dependencies.
Related Issues (20)
- Incompatible with Android plugin? HOT 42
- Build process assumes current directory is in your $PATH HOT 1
- Do not call gradlew on dependency when it does not exist HOT 7
- password protected git repository HOT 2
- referencing branch as version fails
- Maven dependency support HOT 3
- How to use module within dependency? HOT 1
- Plugin does not check out a branch correctly HOT 1
- Add support for ssh keys with a passphrase
- How to pass credentials HOT 2
- What does this mean? HOT 1
- version 0.1 replaced in maven central HOT 4
- Undefined variables in build.gradle
- Required Git Project Structure
- Error:Failed to find: org.batcha:dummy-project-a:4.2 HOT 2
- android studio error
- Resolve buildscript/other plugin dependencies directly from Git - possible?
- Unable to resolve dependencies after running initGitDependencies task HOT 3
- Gradle plugin portal
- gradlew install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-plugin-git-dependencies.