Using Android Studio for a long time, add a variety of dependencies on the Gradle, Jar is handy.
Now you are ready to use MyEclipse to develop a fast-developing framework for Java EE, and to learn about MAVEN, but still prepare to use Gradle to do a wave.
Based on the Gradle development documentation, the prerequisites for using Gradle are based on JDK1.7 or more.
--------------------------------------------------------------------------------------
Use manual installation. Download the complete code and documentation.
The current Gradle release are version 3.5, released on APR 2017.
Complete (with docs and sources) Https://services.gradle.org/distributions/gradle-3.5-all.zip
--------------------------------------------------------------------------------------
Decompression Gradle-3.5-all.zip
and add it in the environment variable.
System variable path is located to the Bin folder under Gradle
--------------------------------------------------------------------------------------
Check if the installation is successful
--------------------------------------------------------------------------------------
Installing the Gradle plugin inside the MyEclipse
--------------------------------------------------------------------------------------Test Gradle Build a project, create a new Gradle project
Quickly build a common Java project
Project structure that was successfully built
Gradle some directories exist with default values, the proposed configuration of the project inherits the Maven style, such as:
Java Source directory: Src/main/java
Java Test Code Catalog: Src/test/java
Resource Files directory: src/main/resources
Resource directory for testing: src/test/resources
Directory for Web project: Src/main/webapp can be changed by Webappdirname variable ex:webappdirname= "WebApp"
--------------------------------------------------------------------------------------
View Build.gradle File
When a build is used with Gradle, it appears
Warning: [options] does not set the bootstrap classpath with-source 1.5
Please modify sourcecompatibility as the current JDK version
--------------------------------------------------------------------------------------Use Gradle Build folder is generated in the root directory after the build command is packaged successfully