Gradle-Repo | 统一管理Git多仓库及模块依赖 / Manage multiple Git repositories
kandi X-RAY | Gradle-Repo Summary
kandi X-RAY | Gradle-Repo Summary
统一管理Git多仓库及模块依赖 / Manage multiple Git repositories and dependencies between modules.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Gradle-Repo
Gradle-Repo Key Features
Gradle-Repo Examples and Code Snippets
Community Discussions
Trending Discussions on Gradle-Repo
QUESTION
I'm working on a java dependency that I publish on GitLab via gradle. In parallel I also work on some projects dependent of it.
When I need to do a change in the parent I have to wait for my CI/CD to be over before I can keep developing the childs. There is most certainly a way to tell gradle 'check there before online' but all I've found until now is to do that with local jar but not raw source files.
I tried most of the things in How to make Gradle repository point to local directory but without success as gradle is excepting a maven repo structure with some pom.xml files.
So how could I achieve something like this ?
...ANSWER
Answered 2021-Oct-18 at 20:47After rethinking the problem and studying a bit more gradle/maven I found the solution.
Just execute the task gradle publishToMavenLocal
in the parent project. Then in the dependent project add mavenLocal()
to your list of repo. That's all you have to do.
I'm still looking for a way to make gradle build and publish the parent automatically on the child's build. But it's already much more practical like this?
QUESTION
I can build my JHipster gateway with gradle from the development machine, but when I give it to the Gitlab CI I get this error at the 'gradle-package' step:
...ANSWER
Answered 2020-May-25 at 11:31What's the [Docker] image you run your job on? I don't see any image:
specifications in your .gitlab-ci.yml
. Make sure it has npm
installed or make sure that your Gradle scripts contains instructions or tasks for installing it. You should probably set nodeInstall
property before running the build:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Gradle-Repo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page