Gradle uses to build java projects

Java application 
:gradle init --type java-application
:./gradlew build

clipboard.png


gradle init --type java-application  
Java,,build.gradle(,,,main)
./gradlew build
,gradle?

?

I just want to build a Java project with gradle and then compile and package it to run

Mar.14,2021

gradlew Gradle Wrapper
when you use this command, gradle wrapper will go to the ${user.home} / .gradle / wrapper/dists directory to find gradle dependency to run, and if not, it will download the corresponding package.

if you expect to use gradle installed locally, you can run it using gradle build instead of . / gradlew build .


you can refer to this article:

develop JavaWeb-DevWiki using Gradle build

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35b29-2acfb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35b29-2acfb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?