Comments (11)
Sure, please make sure you take a look at our contributing guidelines.
from gradle.
Thanks @hotchemi. I'll take a look.
Yes, those are both areas that we need to improve. You can leave those alone for this story. We have a general problem with the Copy
-like tasks having under specified inputs like that.
from gradle.
@big-guy We're booked for 3.3, so I think this should go in the next release after that unless it's very easy. Any thoughts? Is this easy enough we could ask for outside contribution?
from gradle.
It's pretty easy.
We need to add the sync
method with the signature WorkResult sync(Action<? super CopySpec> action);
and documentation to subprojects/core/src/main/java/org/gradle/api/Project.java
We need to add the method to the DSL here: subprojects/docs/src/docs/dsl/org.gradle.api.Project.xml
Make sure we have decent test coverage, something like we do in CopyTaskIntegrationSpec
and CopySpecIntegrationSpec
in SyncTaskIntegrationTest
or a new class.
from gradle.
Note that we do not want a Closure version of this method.
from gradle.
👍
from gradle.
I maybe able to take a look at it this weekend.
from gradle.
Can I grab the issue?
from gradle.
Addressed on #1137!
Btw, I found two NotYetImplemented
annotations in integtests file. Would they be another story to enhance?
from gradle.
@big-guy Thank you for your response. Okay, so let me try to fix them when I can get a time to look into if it's okay.
from gradle.
@big-guy Why no closure version?
from gradle.
Related Issues (20)
- Gradle build fails with an error on sync with Configuration Cache
- GradleRunner race condition: Cannot access input property 'sources' of task HOT 1
- Use configuration names in `AbstractDependencyReportTask` HOT 3
- Gradle 8.8 causing Java crashes on older macOS HOT 1
- Update Working with Dependencies -> Learning the Basics section of User Manual
- Support Kotlin v2.0.0 HOT 2
- Unable to debug an 8.9 Gradle build when using TestKit from Gradle 8.8 HOT 1
- Use JavaPoet `TypeName` instead of ASM `Type` in instrumentation annotation processor when reading annotations
- Cannot fingerprint input property 'compileVersionMap': value '' cannot be serialized. HOT 4
- Improve error message when dependency verification failed for detached configurations HOT 3
- Untangle Service Registry framework implementation
- Project.findProperty does not search through this project's ancestor projects. Instead, it skips right to the root if there is no property local to the current project HOT 4
- TestLauncher does not discover tests in Junit5 @Nested class HOT 1
- Add test documenting the failure of #29176
- buildSrc plugin cannot use more than one repository HOT 4
- request more accurate information when emitting dependencies arising from gradle plugins HOT 1
- Option `gradle-user-home` changes its behavior depending on position in command line HOT 1
- When wrapper fails checksum validation, don't show the actual checksum, instead redirect users to a more reliable source HOT 2
- Secondary variants break consumable configuration with no artifacts HOT 1
- Gradle public APIs to get repository info 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 gradle.