From b1ec61befe9a2d65a8376892850c8d87dcf8049e Mon Sep 17 00:00:00 2001
From: Jason Holmes
Date: Fri, 6 Jan 2023 10:33:44 -0800
Subject: [PATCH 3/5] Disable new line after multiline when statement
---
configs/codestyles/SquareAndroid.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs/codestyles/SquareAndroid.xml b/configs/codestyles/SquareAndroid.xml
index e3b6c1e..19a6fd9 100644
--- a/configs/codestyles/SquareAndroid.xml
+++ b/configs/codestyles/SquareAndroid.xml
@@ -260,6 +260,7 @@
+
@@ -418,4 +419,4 @@
-
\ No newline at end of file
+
From 66a3fc35ef4851837eac4417d9b2d21a4796d823 Mon Sep 17 00:00:00 2001
From: Ralf Wondratschek
Date: Wed, 19 Nov 2025 11:13:55 -0800
Subject: [PATCH 4/5] Explicit Kotlin import layout
Specify an explicit import layout instead of relying on the Kotlin Official default. The Kotlin Official style uses `ij_kotlin_imports_layout = *,java.**,javax.**,kotlin.**,^`. There isn't a reason why these packages should be treated differently. The new explicit import layout changes it to `ij_kotlin_imports_layout = *`, which is for example used by ktfmt, too.
---
configs/codestyles/SquareAndroid.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configs/codestyles/SquareAndroid.xml b/configs/codestyles/SquareAndroid.xml
index 19a6fd9..a099107 100644
--- a/configs/codestyles/SquareAndroid.xml
+++ b/configs/codestyles/SquareAndroid.xml
@@ -99,6 +99,11 @@
+
+
+
+
+
From 832b5d0486366c5e05ff80c371468739ea887f58 Mon Sep 17 00:00:00 2001
From: Ralf Wondratschek
Date: Wed, 19 Nov 2025 11:42:49 -0800
Subject: [PATCH 5/5] Deprecate this project
These code styles aren't maintained anymore. Block / Square has adopted [ktfmt](https://github.com/facebook/ktfmt) with its code style. [`.editorconfig`](https://spec.editorconfig.org/index.html) files are a better alternative to share code styles and are supported in Jetbrains IDEs.
---
README.md | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/README.md b/README.md
index 9ad7c0e..05b1d39 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,14 @@ Java Code Styles
IntelliJ IDEA code style settings for Square's Java and Android projects.
+Deprecated
+----------
+
+These code styles aren't maintained anymore. Block / Square has adopted
+[ktfmt](https://github.com/facebook/ktfmt) with its code style.
+[`.editorconfig`](https://spec.editorconfig.org/index.html) files are a better alternative to share
+code styles and are supported in Jetbrains IDEs.
+
Installation
------------