- Print
- PDF
Gradle
- Print
- PDF
Available in Classic
Gradle is a build service platform utilizing Gradle while using Linux as an OS. It is automatically configured on NAVER Cloud Platform's Compute infrastructure service and can be instantly put into service through a configuration process with only a few steps.
The advantages of using Gradle are as follows:
- You can reliably use Gradle utilizing the infrastructure services of NAVER Cloud Platform.
- You can select a server image and specifications to automatically install and use the Gradle server.
For more information on the software used in NAVER Cloud Platform's Gradle, see the following websites:
Creating and accessing server
The method for creating and accessing the server is the same as creating a regular server on NAVER Cloud Platform. The following are detailed procedures and reference guides:
Procedure | Description |
---|---|
1. Set ACG |
|
2. Create server |
|
3. Set public IP |
|
4. Set port forwarding |
|
5. Get admin password |
|
6. Access server |
|
- After you access and log in to the server, change the password of the root account to one you can remember. Enter the
passwd root
command to set a new password. - If you can't connect to the Gradle Web service even if there is no problem in the public IP address and ACG, your web server process might be stopped. Run the restart command (
systemctl start httpd
) on the terminal program to restart the process.
Using server
When the server is created, Gradle Package is installed for easy use.
Access the server and run the following tasks:
Check information
While connected to the server, you can run the following commands to view relative information.
- Check installation information:
gradle
- Check version:
gradle -v
- Check installed JDK version:
java -version
Create project
The following describes how to create a project using Gradle.
- Enter the
gradle init
command.- The project creation task is started.
- Follow the instructions on the screen and set the project's properties as desired.
- After the creation is complete, check the configuration of the project.
- Check the current folder location:
pwd
- Check details of all files in the current folder:
ls -al
- Check the current folder location:
Build project
Enter the following commands to build the created project.
# ./gradlew build
Run project
Enter the following commands to run the built project.
# ./gradlew run