Skip to content

Commit 414767b

Browse files
MGaetan89facebook-github-bot
authored andcommitted
Disable Jetifier (#1059)
Summary: This PR disables Jetifier. This was used to convert old Android Support Libraries to AndroidX. Nowadays, AndroidX has become the standard, and Android Support Libraries are (almost?) no longer used. Also, disabling Jetifier improves build times: ### Latest `master` (d43801e) Build: https://github.com/facebook/litho/actions/runs/15437928666 <img width="308" alt="Screenshot 2025-06-04 at 11 40 57" src="https://github.com/user-attachments/assets/a5f9d19e-f1ff-49a5-9798-08f3656e45cc" /> ### This PR Build: https://github.com/facebook/litho/actions/runs/15438697966?pr=1059 <img width="308" alt="Screenshot 2025-06-04 at 11 41 17" src="https://github.com/user-attachments/assets/b8490303-2965-4302-b818-f65abbbac1e9" /> ## Changelog Disable Jetifier. Pull Request resolved: #1059 Test Plan: Successful build on the CI. Reviewed By: kingsleyadio Differential Revision: D76329591 Pulled By: zielinskimz fbshipit-source-id: 8a80f1415a15dd2d94ae0277f4de3409ad7fe57c
1 parent 7286fda commit 414767b

File tree

9 files changed

+1
-19
lines changed

9 files changed

+1
-19
lines changed

codelabs/events/gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,5 @@ org.gradle.jvmargs=-Xmx1536m
2929
# Android operating system, and which are packaged with your app's APK
3030
# https://developer.android.com/topic/libraries/support-library/androidx-rn
3131
android.useAndroidX=true
32-
# Automatically convert third-party libraries to use AndroidX
33-
android.enableJetifier=true
3432
# Kotlin code style for this project: "official" or "obsolete":
3533
kotlin.code.style=official

codelabs/group-section-lifecycle/gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,5 @@ org.gradle.jvmargs=-Xmx1536m
2929
# Android operating system, and which are packaged with your app's APK
3030
# https://developer.android.com/topic/libraries/support-library/androidx-rn
3131
android.useAndroidX=true
32-
# Automatically convert third-party libraries to use AndroidX
33-
android.enableJetifier=true
3432
# Kotlin code style for this project: "official" or "obsolete":
3533
kotlin.code.style=official

codelabs/hello-world/gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,5 @@ org.gradle.jvmargs=-Xmx1536m
2929
# Android operating system, and which are packaged with your app's APK
3030
# https://developer.android.com/topic/libraries/support-library/androidx-rn
3131
android.useAndroidX=true
32-
# Automatically convert third-party libraries to use AndroidX
33-
android.enableJetifier=true
3432
# Kotlin code style for this project: "official" or "obsolete":
3533
kotlin.code.style=official

codelabs/hscroll-height/gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,5 @@ org.gradle.jvmargs=-Xmx1536m
2929
# Android operating system, and which are packaged with your app's APK
3030
# https://developer.android.com/topic/libraries/support-library/androidx-rn
3131
android.useAndroidX=true
32-
# Automatically convert third-party libraries to use AndroidX
33-
android.enableJetifier=true
3432
# Kotlin code style for this project: "official" or "obsolete":
3533
kotlin.code.style=official

codelabs/props/gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,5 @@ org.gradle.jvmargs=-Xmx1536m
2929
# Android operating system, and which are packaged with your app's APK
3030
# https://developer.android.com/topic/libraries/support-library/androidx-rn
3131
android.useAndroidX=true
32-
# Automatically convert third-party libraries to use AndroidX
33-
android.enableJetifier=true
3432
# Kotlin code style for this project: "official" or "obsolete":
3533
kotlin.code.style=official

codelabs/save-state-rotation/gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,5 @@ org.gradle.jvmargs=-Xmx1536m
2929
# Android operating system, and which are packaged with your app's APK
3030
# https://developer.android.com/topic/libraries/support-library/androidx-rn
3131
android.useAndroidX=true
32-
# Automatically convert third-party libraries to use AndroidX
33-
android.enableJetifier=true
3432
# Kotlin code style for this project: "official" or "obsolete":
3533
kotlin.code.style=official

codelabs/state/gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,5 @@ org.gradle.jvmargs=-Xmx1536m
2929
# Android operating system, and which are packaged with your app's APK
3030
# https://developer.android.com/topic/libraries/support-library/androidx-rn
3131
android.useAndroidX=true
32-
# Automatically convert third-party libraries to use AndroidX
33-
android.enableJetifier=true
3432
# Kotlin code style for this project: "official" or "obsolete":
3533
kotlin.code.style=official

codelabs/updating-ui/gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,5 @@ org.gradle.jvmargs=-Xmx1536m
2929
# Android operating system, and which are packaged with your app's APK
3030
# https://developer.android.com/topic/libraries/support-library/androidx-rn
3131
android.useAndroidX=true
32-
# Automatically convert third-party libraries to use AndroidX
33-
android.enableJetifier=true
3432
# Kotlin code style for this project: "official" or "obsolete":
3533
kotlin.code.style=official

gradle.properties

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,4 @@ org.gradle.internal.repository.initial.backoff=1250
4646
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 --add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
4747

4848
# AndroidX
49-
android.useAndroidX = true
50-
android.enableJetifier = true
51-
android.jetifier.ignorelist=bcprov-jdk15on
49+
android.useAndroidX=true

0 commit comments

Comments
 (0)