Comments (3)
I think we should replace include()
with new methods or DSL that make more explicit what kind of value you're providing. For example, use a method name and parameter types that describe this:
includeProjectAt(File dir) // path is inferred from dir
includeProjectWithPath(String path) // dir is inferred from path
Or
includeProject { projectDir = ... }
includeProject { projectPath = ... }
includeProject { projectDir = ...; projectPath = ... }
Or
projects {
core { projectDir = '...' }
}
Or whatever.
We should do the same thing for includeBuild()
.
As a separate change, we should deprecate a small number of specific characters that can be used in a project/task/configuration/whatever name, whereever and however that value is specified (which includes the include()
method)
from gradle.
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.
from gradle.
This issue has been automatically closed due to inactivity. If you can reproduce this on a recent version of Gradle or if you have a good use case for this feature, please feel free to reopen the issue with steps to reproduce, a quick explanation of your use case or a high-quality pull request.
from gradle.
Related Issues (20)
- Improve docs for --update-locks HOT 1
- declarative component selection HOT 2
- component selection expiration warning HOT 3
- component selection will not fully override a strict selection by a platform HOT 1
- Compiler exceptions should be mapped to problems
- Outdated Isolated Projects documentation page HOT 2
- Implicit dependency error should not be caused when the implicit task is defined as finalizedBy HOT 6
- Autoconfigure the java-gradle-plugin with jvm-test-suite HOT 2
- Isolated Project violations should include a location HOT 1
- gradle/actions/dependency-submission needs to work on tag builds
- Search functionality in gradle docs is not as good as it previously was HOT 9
- Publication with non-ambiguable variants should fail HOT 1
- Please revert the deprecation to declare additional feature variants on the `main` source set HOT 2
- Allow to declare multiple feature variants on the same non-`main` source set HOT 2
- Services that depend on ExecutionEngine might not use build cache with 8.9 HOT 4
- Make ArchUnit tests for Kotlin public APIs understand `internal` visiblity
- Gradle wrapper does not respect the CLI option --gradle-user-home HOT 1
- Enable read-only configuration cache HOT 3
- Gradle 8.8 crashed on MacOS 11.x (8.7 still works as expected) HOT 15
- Kaung
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.