gradle.rst
changeset 2158 4273aeaa0c1a
parent 2157 e5b91cfd93ce
child 2248 0498f4c91fda
equal deleted inserted replaced
2157:e5b91cfd93ce 2158:4273aeaa0c1a
   212 
   212 
   213 ``-m`` option allow parsing build scripts without actually executing them::
   213 ``-m`` option allow parsing build scripts without actually executing them::
   214 
   214 
   215   $ gradle -m clean compile
   215   $ gradle -m clean compile
   216 
   216 
       
   217 Bootstrap project structure
       
   218 ===========================
       
   219 
       
   220 This creates simple project with Gradle boilerplate files::
       
   221 
       
   222   $ gradle init --type java-library
       
   223 
       
   224 To convert Maven project (with ``pom.xml`` file) to Gradle project use::
       
   225 
       
   226   $ gradle init --type pom
       
   227 
       
   228 https://docs.gradle.org/current/userguide/build_init_plugin.html
       
   229   Official docs on ``init`` plugin.
       
   230 
   217 Gradle wrapper
   231 Gradle wrapper
   218 ==============
   232 ==============
   219 
   233 
   220 With Gradle v2.4 and above::
   234 With Gradle v2.4 and above::
   221 
   235