Skip to content

Commit f31d537

Browse files
authored
Revise Lombok installation instructions in README
Updated instructions for installing Lombok in Android Studio.
1 parent b41010d commit f31d537

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

README.md

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -62,31 +62,7 @@ git droidSetup
6262

6363
## Installing Lombok to Android Studio
6464

65-
Since Android Studio officially dropped Lombok Support, you will need to manually install Lombok by yourself for each Android Studio update.
66-
67-
There are 2 ways to do this.
68-
69-
### 1. Copy lombok to the default plugin folder (Preferred)
70-
1. under /lombok subfolder, copy the <b>/lombok/lombok-plugin</b> folder to Android Studio/plugins (Windows), or Android Studio -> Show Package Contents -> Contents -> plugins (OSX).
71-
- The folder structure should be plugins/lombok-plugin/lib/..
72-
73-
Note: This lombok folder is extracted from Dolphin-2021.3.1.zip
74-
75-
### 2. Modify and manually install via plugin settings
76-
<b>We've provided the zipped plugin for you already under /lombok subfolder.</b>
77-
If the build for your android version is not there, you can follow the steps below to generate your own compatible lombok.
78-
79-
1. Download [The latest release (0.34.1-2019.1)](https://plugins.jetbrains.com/plugin/6317-lombok/versions) and extract.
80-
2. Navigate to lombok-plugin\lib
81-
4. Open META-INF\plugin.xml.
82-
5. Look for \<idea-version>, under <b>until-build</b>, set to the latest build version. You can get this information from "About Android Studio"
83-
- For example, set until-build="AI-213.*" for Dolphin
84-
![](readme-img/dolphin.png)
85-
6. Execute `jar uf lombok-plugin-0.34.1-2019.1.jar META-INF/plugin.xml`
86-
7. Rezip the whole lombok-plugin folder.
87-
8. Don't forget to add it to /lombok subfolder, so that other people can use :)
88-
89-
After that, go to Android Studio's plugins page (Under preferences), choose "Install plugin from disk", and select the compatible plugin zip file.
65+
Lombok plugin is usually loaded automatically. If not, install it by following the official guide: : https://projectlombok.org/setup/android
9066

9167
## Build Variants
9268

0 commit comments

Comments
 (0)