Giter Club home page Giter Club logo

Comments (4)

houshengbo avatar houshengbo commented on June 10, 2024

@markusthoemmes Hi Markus. I think we are running into the above issue in gradle. We would like to receive your opinion and help. Thank you.

from openwhisk-catalog.

markusthoemmes avatar markusthoemmes commented on June 10, 2024

Depending on prebuilt binaries indeed doesn't sound like a good idea to me.

Two ideas:

  1. Create a dependency against the test source files directly (adding them to the srcDirs
  2. Don't depend on openwhisk's tests at all? Which parts of the repo do you really need? Catalog tests presumably are mostly about wsk action create, wsk action invoke, wsk activation get, right? Does a thin testwrapper make sense? It could be shared across all catalog repos via something like https://jitpack.io/

from openwhisk-catalog.

houshengbo avatar houshengbo commented on June 10, 2024

@markusthoemmes Thank you, Markus. Could you give me some more information about the first approach?

Suppose I have a repo of openwhisk-catalog and a repo of openwhisk. They are not necessarily put in the same folder. The only thing that openwhisk-catalog knows is an absolute path where openwhisk is located. I am not sure how to refer to openwhisk project in the build.gradle of openwhisk-catalog.

I have found many suggestions like
dependencies {
testCompile project(path ':a', configuration: 'tests')
}
How can I use an absolute path as the path param for project?

from openwhisk-catalog.

houshengbo avatar houshengbo commented on June 10, 2024

http://stackoverflow.com/questions/14729072/having-difficulty-setting-up-gradle-multiproject-build-for-existing-repository-l

https://looksok.wordpress.com/2014/07/12/compile-gradle-project-with-another-project-as-a-dependency/

The above links are useful, I believe.
@markusthoemmes @jasonpet @daisy-ycguo @lzbj

from openwhisk-catalog.

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.