Comments (6)
If you want to omit the buildscript
then the only alternative I can think of is to run the mailmerger-cmdline as an actual command, rather than bringing it in as a dependency.
I've pushed up a branch https://github.com/distributev/mailmerger/tree/alternative
See the build.gradle in the watch2 folder for an example of what I mean.
from mailmerger.
Hello,
I tried to look at watch2 but I still see buildScript at the top. In any case I'm interested to tell me couple of examples for scripts types where buildScript section is mandatory and another set of example scripts where just by watching at the script content nothing related with "build" will be visible. I don't need you to write code only to tell me here when buildScript section is mandatory and when we can code gradle scripts without "build" assumptions.
from mailmerger.
Sorry, I'd not committed the changes to the branch. Should be there now.
https://github.com/distributev/mailmerger/blob/alternative/watch2/build.gradle
from mailmerger.
The buildscript
section of a Gradle build.gradle
file defines any dependencies required for Gradle to execute the build.
e.g. in https://github.com/distributev/mailmerger/blob/alternative/watch/build.gradle the mailmerger-cmdline
dependency is required to use the MailMerger
class directly in the buildscript.
In https://github.com/distributev/mailmerger/blob/alternative/watch2/build.gradle this dependency is not required as the location of the jar file is specified as a parameter to the build and runs a java -jar
command via exec.
from mailmerger.
Please merge watch2 into the main branch. This is how I need - the server should only "wrap functionality" while being as independent as possible from the functionality which is being "wrapped" or deployed into the server.
from mailmerger.
watch2 has been merged into the main branch and become the main watch folder.
from mailmerger.
Related Issues (15)
- remove org.springframework.boot dependency from mailmerger-cmdline
- errors while importing gradle project into eclipse HOT 2
- gradle dependency tree HOT 2
- replace ${Root.value1} with ${value1}
- All junit tests should assert and should validate whatever need to assert / validate for making sure the functionality works fine
- Can I use @grab inside .gradle scripts? HOT 4
- If I suddenly give concurrently few hundreds CSV files into the poll folder HOT 11
- I'll provide some details of the logging shortly. HOT 1
- Why I get stacktrace inside info.log? HOT 1
- Why this error is not reported in errors.log? HOT 1
- How to run cmdline? HOT 1
- Sample of run configuration to execute server from Eclipse? HOT 3
- gradlew.bat build install fails HOT 5
- Cannot execute server 2 HOT 3
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 mailmerger.