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)
- Upgrading to log4j2 2.24.0 will print ERRORs to the console HOT 4
- "Gradle sync" does not like a SYMBOLIC `...\AppData\Local\Temp` directory HOT 5
- Allow clients to define Problem ID object
- Problems API stacktrace location should always use ProblemStreams
- Remove `plugin()` method from `ProblemSpec` HOT 1
- ProblemSpec.withException() should accept Throwable HOT 1
- Move AdditionalData from InternalProblemReporter to ProblemReporter
- "multi-project build that contains two subproject" shows example with 3 subprojects? HOT 1
- In Problems API model plugin ID location as attribution information
- Sanitise Tooling API classes representing problem reports
- AggregatingProblemConsumer should only do summarization
- Problems API should expose generic typed additional data from build logic
- Ensure that DefaultProblemReporter won't cause OOME
- Implement problem aggregation in core HOT 1
- Implement problem aggregation in Gradle core
- Problems API should allow report deprecation
- Problems API should allow reporting incubating API usage
- Please review "Cases where composite build substitutions wonβt work" HOT 2
- Automatic modules are not detected when MANIFEST.MF is not the 1st or 2nd entry HOT 4
- Handle Checkstyle.getConfigProperties() and CheckstyleExtension.getConfigProperties() for Kotlin after property upgrade
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.