Kotlin compiled the source code
Clone Kotlin source code project
Git clone [email protected]: JetBrains/kotlin. Git, engineering major Ensure the network flow
Configuring the Java Environment
Download and install Java 1.6, 1.7, 1.8, and 9
1.6 Can be installed using BREW, other packages can be downloaded from the official website:
$ brew tap caskroom/versions
$ brew cask install java6
Copy the code
Configure the Java path to the gradle.properties file in the project root directory, for example:
JAVA_HOME = / Library/Java/JavaVirtualMachines jdk1.8.0 _241. JDK/Contents/Home /JDK_16 = / Library/Java/JavaVirtualMachines / 1.6.0 JDK/Contents/Home /JDK_17 = / Library/Java/JavaVirtualMachines jdk1.7.0 _80. JDK/Contents/HomeJDK_18 = / Library/Java/JavaVirtualMachines jdk1.8.0 _241. JDK/Contents/Home /JDK_9 = / Library/Java/JavaVirtualMachines/JDK - 9.0.4. JDK/Contents/Home /Copy the code
Download the IDEA
Address: https://www.jetbrains.com/idea/download/#section=mac
When you open the project, the first download of dependencies can take a long time, depending on your machine configuration and network
Sync does the following to make it easy to track the code:
This article is formatted using MDNICE