Create and Run Your First ZK Application with Gradle"
Robertwenzel (talk | contribs) m (Created page with "{{ZKInstallationGuidePageHeader}} __TOC__ =Using the gradle example= To use the zk-gradle example project all you need is a command line interface (and preferably git - but not ...") |
Robertwenzel (talk | contribs) |
||
Line 4: | Line 4: | ||
=Using the gradle example= | =Using the gradle example= | ||
To use the zk-gradle example project all you need is a command line interface (and preferably git - but not necessary). | To use the zk-gradle example project all you need is a command line interface (and preferably git - but not necessary). | ||
− | + | ||
+ | Since gradle is a complex tool a basic understanding about gradle itself will help understanding the example -> please refer to the [https://gradle.org/docs gradle documentation] pages. | ||
== Download/Clone the example project == | == Download/Clone the example project == | ||
Line 19: | Line 20: | ||
./gradlew appRun | ./gradlew appRun | ||
− | http://localhost:8080/zk-gradle | + | http://localhost:8080/zk-gradle |
== Import a Gradle project into your IDE == | == Import a Gradle project into your IDE == |
Revision as of 09:31, 15 March 2017
Using the gradle example
To use the zk-gradle example project all you need is a command line interface (and preferably git - but not necessary).
Since gradle is a complex tool a basic understanding about gradle itself will help understanding the example -> please refer to the gradle documentation pages.
Download/Clone the example project
with git command line installed all you need is to clone the example repository:
git clone [email protected]:zkoss-demo/zk-gradle.git
Run the Project
The project created by archetypes above should have a maven jetty plugin configured, you can just run the project with the command below:
./gradlew appRun
http://localhost:8080/zk-gradle
Import a Gradle project into your IDE
The example project doesn't include or require any IDE specific settings and can be imported into your preferred IDE supporting gradle.
In Eclipse you can use the buildship plugin For IntelliJ IDEA just follow the Help page: Working with Gradle Projects