Comments (4)
I am not really sure how much we can do about it, given that purposefully we avoid bring in build tool dependencies and we are parsing files ourselves. The only possible solution I could think of is navigating the directory hierarchy from module root to project root and try to detect global settings.
from dekorate.
Is this not what is done for maven?
from dekorate.
No, AFAIR for maven the version is read from the parent element.
from dekorate.
@iocanel There's any easy fix for this. Require that users define the version in gradle.properties
; which is an accepted practice. Then, search up the tree until you hit a gradle.properties
.
Currently the code is only looking in the current project directory, but for multi-module project it needs to search up until the root project directory.
The best solution would gather all the gradle.properties
up until the root and then apply them in reverse order to mimic the overriding that happens.
from dekorate.
Related Issues (20)
- Dekorate BOM declares a non-existing dependency HOT 1
- Adding an empty property configuration to the Session has unintended side effects.
- CI: Cover scenario with Pipeline runs for Tekton HOT 1
- Tekton: Use params.XXX instead of inputs.params.XXX
- Dekorate BOM 3.7.0 is missing HOT 6
- Empty ProjectParseResourceFileTest.java in the repo
- settings.gradle.kts failed to parse rootProject variable on windows
- Build step io.quarkus.kubernetes.deployment.KubernetesProcessor#build threw an exception: java.lang.IncompatibleClassChangeError: class io.dekorate.tekton.config.TektonConfigFluent has interface io.dekorate.kubernetes.config.ApplicationConfigurationFluent as super class HOT 5
- Dekorate option output-path doesn't generate the files in the desired location HOT 1
- No tekton yaml resource is populated
- Provider io.fabric8.kubernetes.client.okhttp.OkHttpClientFactory not found HOT 7
- Typo in openshift VCS annotation
- Using dekorate.openshift.deployment-kind=Deployment produces empty {}
- Extract Helm model into separate artifact to make it easier to reuse
- support kubernetes affinity
- kubernetes-spring-starter did not generate k8n manifest files in gradle
- Support env vars from secrets with a prefix HOT 2
- Allow disabling version label
- Docs navigation gives 404 in https://dekorate.io/docs/annotation-less-configuration HOT 1
- Sort generated deployment env by name HOT 1
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 dekorate.