Have Grunt generate index.html for different setups

I’m trying to use Grunt as a build tool for my webapp. I want to have at least two setups: I. Development setup – load scripts from separate files, without concatenation, so my index.html would look something like: <!DOCTYPE html> <html> <head> <script src=”https://stackoverflow.com/questions/12401998/js/module1.js” /> <script src=”js/module2.js” /> <script src=”js/module3.js” /> … </head> <body></body> </html> … Read more

Controlling Maven final name of jar artifact

I’m trying to define a property in our super pom which will be used by all child projects as the destination of the generated artifact. For this I was thinking about using project/build/finalName yet this does not seem work, even for simple poms: Command mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DgroupId=com.mycompany.app \ -DartifactId=my-app POM <project xmlns=”http://maven.apache.org/POM/4.0.0″ … Read more

What is Gradle in Android Studio?

Gradle is a bit confusing to me, and also for any new Android developer. Can anyone explain what Gradle in Android Studio is and what its purpose is? Why is it included in Android Studio? 2 26 Short Gradle is a build system. Long Before Android Studio you were using Eclipse for your development purposes, … Read more