java


How to create a web-project with gradle?


We can create an empty web-project with maven just generate it from the archetype like
mvn archetype:generate -DgroupId=com.mkyong
-DartifactId=CounterWebApp
-DarchetypeArtifactId=maven-archetype-webapp
-DinteractiveMode=false
Is there something similat in gradle? I know we can create gradle build script and apply plugin: 'war' but that's not exactly what I'm looking for.
Currently project structure generation is supported on a very basic level. See here for more details. So the answer is: no, it's not possible right now. You need to create the structure on your own.

Related Links

Executing action depending on enum value
Unexpected OutOfMemoryError when using ObjectInputStream#readUnshared()
Problems with last modification of file
Search in Hashmap
Android: Dynamic values in xml components?
Neo4J how to dump from webadmin
HQL query take attribute from wrong class
Swing DefaultStyledDocument traversal
ListView.refresh() does not work
Hibernate cannot rebuild tables due to broken foreign keys
Android studio error: An error occurred while trying to compute required packages
How to determine two functions are cloned without comparing their outputs and signatures?
Bind java client to a RabbitMQ exchange instead of a queue to consume all messages
Spring Data - Spring Boot findFirst retrieve twice the same document
Multi dimensional arrays: Declaraton and initialisation(Java)
Inset and Outset JavaFX Border Style

Categories

HOME
testing
xamarin
ionic-framework
jdo
date
blogger
reserved
iterator
mean-stack
youtube-dl
amortized-analysis
disassembler
convolution
networkx
esper
communication
reveal.js
etl
resize
zend-framework3
commonmark
django-simple-history
opentracing
pugjs
apache-metamodel
ab-testing
viewport
nodatime
riot.js
orleans
tar
dcevm
devops
captiveportal
numerical-methods
maxmind
compatibility
vision
unboundid
instant-messaging
wallpaper
amazon-kinesis-kpl
withings
android-browser
unoconv
scrollable
pubmed
dds
multipeer-connectivity
paxos
gabor-filter
lowpass-filter
crosswalk-runtime
google-cdn
visual-c++-2008
url-masking
bgp
pyke
ios8-today-widget
separator
cannon.js
django-unittest
content-length
map-projections
ideamart
inmobi
e10s
knuth
network-interface
html-helper
neolane
ceil
aapt
navigationservice
system.net.webexception
industrial
opcache
ftps
kyotocabinet
e4x
isnullorempty
mt
funscript
word-processor
reddot
hgsubversion
f#-powerpack
xtype
zend-translate
sortable-tables
multi-tier
sustainable-pace
nerddinner
procedural-music
genealogy
ubuntu-9.04
post-build
django-notification

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App