php editor Baicao introduces you a method: how to install Windows 10 on Apple computers. Although Apple computers themselves are based on the Mac OS system, some users may need to use the Windows 10 operating system in specific situations. Fortunately, Apple computers can achieve the goal of installing Windows 10 by using the Boot Assistant tool and Boot Camp software. In this article, we will introduce you to the entire installation process in detail, allowing you to easily experience the powerful features of Windows 10 on your Apple computer.
https://gradle.org/releases/
2. As shown below, select the version according to your needs. Here select 7.5.1

3 , you can choose to download binary or complete. The compete version downloaded here is gradle-7.5.1-all.zip

1. Download the gradle-7.5.1-all.zip version After packaging, unzip it to the current folder, as shown below

2. The unzipped directory is as follows

1. Right-click this computer

2. Click Properties to find Advanced Configuration

3. Click Advanced System Configuration

4. Click Environment Variables to configure environment variables and add new system variables
Variable name: GRADLE_HOME
Variable value: E:\software\gradle-7.5.1 (here is the path to the Gradle you decompressed)

5. Double-click System variable path

6. New variable: %GRADLE_HOME%\bin
#7. Verify whether Gradle is installed successfully. Win r opens the following window, enter cmd, and click OK to open the command window.


8. Verify whether Gradle is installed successfully. Enter the command: gradle -v in the command window. If the following is displayed, the installation is successful.

1. Find the init.d folder in the decompressed gradle-7.5.1 directory

2. Open init.gradle, if not create a new one Just file

3. Configure the domestic mirror warehouse of the warehouse to improve the download speed of dependencies. Add the following configuration
allprojects { repositories { mavenLocal() maven { name "Alibaba" ; url "https://maven.aliyun.com/repository/public" } maven { name "Bstek" ; url "https://nexus.bsdn.org/content/groups/public/" } mavenCentral() } buildscript { repositories { maven { name "Alibaba" ; url 'https://maven.aliyun.com/repository/public ' } maven { name "Bstek" ; url 'https://nexus.bsdn.org/content/groups/public/' } maven { name "M2" ; url 'https://plugins.gradle.org/m2/ ' } } }}
4. Configuration screenshot

a. As shown below, click Intellij Idea File-> New->Project

b. Choose to use Spring Initializr to create a new project

c. Fill in the project information, select Gradle, and select the Java version. The Java version is based on your own needs. Select

a. Open https://start.spring.io/address

b. Select the new project information, including build tools, languages, Version

c. Fill in project information

d. Select the required dependencies

a. If you use the one created by Idea, just open it directly;
b. If you use the web page After creating the download, import it into Idea.
Intellij Idea Configure Gradle1. Create a new Gradle warehouse folder, as shown in the figure below

2. Click Idea FIle->Setting

3 . Setting interface: Click Build, Execution, deployment > Build Tools > Gradle

4. Set Gradle user home to the folder created in step 1

5 . Set Use Gradle from as shown in the figure below, where the directory is the Gradle installation directory

6. Modify the Gradle JVM, here to jdk17, according to the needs of the self-generated version

1. Idea import project construction project
2. Modify the configuration file as follows. The following is the yml file configuration method

Need to introduce druid related packages
implementation 'com.alibaba:druid-spring-boot-starter:1.2.12'
3. The configuration is successful as follows

Caused by: org.gradle.api.InvalidUserCodeException: Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven( http://maven.aliyun.com/nexus /content/groups/public/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.2/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository .html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.
As shown below:

Need to check the configuration in the init.gradle file
If it is the following configuration
maven { name "Bstek" ; url "http://nexus.bsdn.org/content/groups/public/" }
maven { name "Bstek" ; url 'http://nexus.bsdn.org/content/groups/public/' }
needs to be modified to
maven { name "Bstek" ; url "https://nexus.bsdn.org/content/groups/public/" }
maven { name "Bstek" ; url 'https://nexus.bsdn.org/content/groups/public/ ' }
After modifying the configuration, the build will be successful.
The above is the detailed content of Apple install windows10. For more information, please follow other related articles on the PHP Chinese website!

What is Windows 11 Education? If you want to install this system on your PC, how can you do this work? This post from php.cn gives a detailed guide on Windows 11 Education download ISO and how to install it from the ISO file.

Are your Outlook emails not showing up in Inbox, but showing in search? What steps can you do when Outlook not showing all emails? Now in this post given by php.cn Solution, we will introduce several useful methods to help you address the issue and g

If you are trying to power off your computer but encountering the Windows stuck on shutting down screen issue, you can find several helpful fixes from this php.cn guide. Just keep reading to see the details.
![[Complete Guide] How to Fix Microsoft Teams Error CAA50021? - MiniTool](https://img.php.cn/upload/article/001/242/473/174559963580964.png?x-oss-process=image/resize,p_40)
If you are looking for effective solutions to the Microsoft Teams error code CAA50021, this post is worth reading. In this post, php.cn introduces how to get rid of this error in detail. Simply follow it to solve your problem.

Do you want to make Windows 11 or Windows 10 look like Windows XP? Do you know how to do this on your device? You can try the WindowBlinds 11 Beta version now. In this post, php.cn Software will tell you how to download WindowBlinds 11 and introduce

If you can’t use the universal way to uninstall Windows updates due to An error has occurred, Not all of the updates were successfully uninstalled, you can try the methods mentioned in the php.cn post to solve the issue.

What is wacom_tablet.exe? Is the Windows process safe to run? Some people find wacom_tablet.exe can't end process and when this Windows system error happens, you may be overwhelmed and don’t know where to start. On php.cn, this article will resolve y

ChatGPT errors are various and we’ve detected suspicious behavior is a common one. If you are trapped in this issue, what should you do? Go on reading this post from php.cn and you can find some useful fixes to help you get rid of trouble.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools

Dreamweaver CS6
Visual web development tools
