GithubHelp home page GithubHelp logo

Comments (3)

dneves avatar dneves commented on August 28, 2024

Hello
Any chance this is currently being developed?

I'm having this same problem, as the plugin correctly clones the git repository but then fails with:

A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
   > Could not find <group>:<artifact>:<version>.

(sorry for omitting dependency info)

Also, i had to use plugin version 0.1, because 0.2 was not even cloning the git repository...

Thanks.

from gradle-plugin-git-dependencies.

haysclark avatar haysclark commented on August 28, 2024

Same issue's as others. 0.2 does not work with basic build.gradle file:

apply plugin:'java'
apply plugin: 'git-dependencies'

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        // classpath 'org.batcha.gradle.plugins:git-dependencies:0.2' // does not work
        classpath 'org.batcha.gradle.plugins:git-dependencies:0.1' // works
    }
}

dependencies {
  compile('org.batcha:dummy-project-a:4.2').ext.git = 'https://github.com/bat-cha/dummy-java-project-a.git'
}

from gradle-plugin-git-dependencies.

wosiu avatar wosiu commented on August 28, 2024

I've got the same using the exact example with org.batcha:dummy-project-a:4.2.
It is cloned, but when I build I get:

Could not resolve all dependencies for configuration ':compile'.
> Could not find org.batcha:dummy-project-a:4.2.
  Searched in the following locations:
      https://repo1.maven.org/maven2/org/batcha/dummy-project-a/4.2/dummy-project-a-4.2.pom
      https://repo1.maven.org/maven2/org/batcha/dummy-project-a/4.2/dummy-project-a-4.2.jar
      https://repository.cloudera.com/artifactory/cloudera-repos/org/batcha/dummy-project-a/4.2/dummy-project-a-4.2.pom
      https://repository.cloudera.com/artifactory/cloudera-repos/org/batcha/dummy-project-a/4.2/dummy-project-a-4.2.jar
  Required by:
      im.imo.gobblin:gobblin:unspecified

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.