cake-contrib / cake.gradle Goto Github PK
View Code? Open in Web Editor NEWAlias to assist with running Gradle from Cake build scripts
Home Page: https://cake-contrib.github.io/Cake.Gradle/
License: MIT License
Alias to assist with running Gradle from Cake build scripts
Home Page: https://cake-contrib.github.io/Cake.Gradle/
License: MIT License
This is just a suggestion, but think it would be a really good idea, to help with visibility of this addin.
i.e. get your addin listed here:
Have a look at this PR:
This assumes that you have added XML Documentation to your addin, as described here:
http://cakebuild.net/docs/contributing/documentation
Let me know if you have any questions. Thanks!
The NuGet Gallery will soon include a "Cake" tab with instructions on how to use NuGet packages in Cake build scripts. I'd like to suggest that you include the tag cake-addin
in the NuGet package of this addin, so that the NuGet Gallery can display the correct instructions to install this addin.
The UI will look similar to this:
Documentation on best practices on tags for Cake addins: https://cakebuild.net/docs/extending/addins/best-practices#tags
The current NuGet.org page looks a bit "empty" without one.
Currently the only documentation is ReadMe.md
and cakebuild.net API
A wyam-generated documentation, hosted using GitHub Pages would be nice.
Cake 2.0.0 has been released ๐
Currently the coverage is around 73% and GradleRunnerAlias.cs
is not covered at all.
Current situation:
Acceptance criteria:
But:
In Mac/Linux, sometimes we need to give permission to gradlew, this logic should be included the Run function.
CodeCov dropped support for tokenless runs in version 4, so all builds are currently broken.
While it appears that PR runs on GitHub should probably continue to work tokenless, this is not the case. Hence, we should disable CodeCov for the moment.
Running the demo is fine, when gradle
is installed globally.
However, it seems that gradlew is not properly picked up.
Instead of copying the sources manually.
https://www.nuget.org/packages/LitJson.Source/0.19.0-alpha0027
The addin contains XML comments for aliases, but doesn't ship with the documentation XML file. Therefore comments can't be shown on Cake website (e.g. https://cakebuild.net/extensions/cake-gradle/).
To have aliases documented on the Cake website the NuGet package needs to ship with the documentation XML in the NuGet package.
A gradle wrapper (the gradlew.bat /gradlew file in the /example) directory is not used but only the gradle.bat/gradle from the PATH.
Expected behavior: use the wrapper from the project directory if available.
virtual environment is not pinned.
Also, there was a warning before the error started:
1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.
To take advantage of updating of issues when milestone is closed, and also so apply a SHA to all uploaded artifacts in the GitHub Release.
We performed an automated audit of your Cake addin and found that it does not follow all the best practices.
We encourage you to make the following modifications:
.csproj
should have a line similar to this: <PackageReference Include="Cake.Core" Version="0.28.0" PrivateAssets="All" />
.yml
file in this repoApologies if this is already being worked on, or if there are existing open issues, this issue was created based on what is currently published for this package on NuGet.org and in the project on github.
Remove PackageIcon
and PackageIconUrl
- both are now set automatically
probably fix some warnings.
running Gradle
like:
Gradle
.WithArguments("-PpluginVersion=\"3.2.1\"")
.WithArguments("-Dorg.gradle.project.intellijPublishToken=\"YOUR_HUB_TOKEN_HERE\"")
.Run();
Should result in one arguement line like -PpluginVersion="3.2.1" -Dorg.gradle.project.intellijPublishToken="YOUR_HUB_TOKEN_HERE"
but instead it will only show the last argument.
We've been using GitHub Discussions as the preferred communication channel (instead of Gitter) because it makes it easier to keep track of discussions in a structured way, especially if multiple discussions are happening at the same time. It also allows to search for previous questions/answers, which can be a helpful resource.
As such, we're recommending addin maintainers to mention the GitHub discussion in their README and update links to Gitter (if any) to point to the GH discussions.
Template:
## Discussion
For questions and to discuss ideas & feature requests, use the [GitHub discussions on the Cake GitHub repository](https://github.com/cake-build/cake/discussions), under the [Extension Q&A](https://github.com/cake-build/cake/discussions/categories/extension-q-a) category.
[![Join in the discussion on the Cake repository](https://img.shields.io/badge/GitHub-Discussions-green?logo=github)](https://github.com/cake-build/cake/discussions)
The Discussion platform for Cake-Contrib has been moved from Gitter to GitHub Discussion (see cake-build/website#1470).
Please check this repo for references to Gitte and replace them accordingly.
Search suggests that references could be in
Before setting up a new AppVeyor project for this repository, I think we should take the opportunity to rename the repository so that it is consistent with others in this Organisation.
i.e. suggesting we change:
cake-gradle
to
Cake.Gradle
Also fix the (currently 216) build warnings
currently, if gradle
is installed on the system and no gradlew
is present in the project either gradle.bat
or gradle
are run (depending on windows/no windows).
If gradle
was installed using chocolatey gradle
is present, however it is available via a gradle.exe
-shim and so Cake.Gradle
reports Gradle Runner: Could not locate executable.
@abeggchr are you still in a position to maintain this addin?
During the recent audit, it was found that this addin is targetting 0.15.0 of Cake (which is quite a few releases behind). If you are no longer in a position to maintain this addin, would you be interested in moving it to the Cake-Contrib Organisation, where it could be opened up to the Community?
First of all, I wanted to thank you for adding to the Cake community by adding this addin.
I was just wondering if you had seen this blog post:
http://cakebuild.net/blog/2016/08/cake-contribution-organization
We are currently going through a process of increasing the visibility of addins, and also trying to ensure their long term maintainability.
To that end, we are asking addin creators to add the cake-contrib user on NuGet as a co-owner (this can be done through the NuGet website by clicking on Manage Owners on the package page).
Would you be interested in doing this for Cake.AWS.CloudFront? If you have any questions about this, please let me know. There was some initial concern that the Cake Team were trying to "take over" packages, and that couldn't be further from the truth, and if you have this concern, or others, I would like to address them.
Thanks!
Also, usage in Frosting is not documented.
Currently to pass properties, the syntax is something like:
Gradle
.FromPath(BuildParameters.SourceDirectoryPath)
.WithTask("buildPlugin")
.WithArguments($"-PpluginVersion=\"{buildVersion.SemVersion}\"")
.Run();
it would be much more easy and readable to have something like:
Gradle
.FromPath(BuildParameters.SourceDirectoryPath)
.WithTask("buildPlugin")
.WithProperty("pluginVersion", buildVersion.SemVersion)
.Run();
Cake 4.0.0 has been released ๐
There was an error processing coverage reports.
This issue provides visibility into Renovate updates and their statuses. Learn more
This repository currently has no open or pending branches.
I.e. When setting a deployment token for the JetBrains Marketplace the syntax is
-Dorg.gradle.project.intellijPublishToken=YOUR_HUB_TOKEN_HERE
however the token should not be visible in the logs.
Something like
.WithSystemProperty("org.gradle.project.intellijPublishToken", "YOUR_HUB_TOKEN_HERE", true)
where the last part (true
) would mean that the token should be secret would be good.
Thanks again for creating this Cake Addin, we really appreciate the effort that you have put in to creating it.
We, the Cake Team, recently announced a new Cake Contrib Icon, details of which can be found here:
http://cakebuild.net/blog/2017/06/new-cake-contrib-icon
Would you consider changing the nuspec file for your NuGet Package to use this new Cake Contrib Icon? If so, the recommended URL to use is:
Details of the above URL can be found in the repository here:
https://github.com/cake-contrib/graphics
Please let me know if you have any questions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.