THIS New Tool Strongly Speeds Up Your Gradle Builds

preview_player
Показать описание
With KSP supporting more and more popular Android libraries like Dagger-Hilt and Room, we can now make use of it to speed up our Gradle builds by migrating away from the old Kapt tool.

⭐ Learn all the professional technologies applied in the industry
⭐ 100% money back guarantee for 30 days
⭐ Become an industry-ready Android developer now:

💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:

Follow me on Instagram for insights into my live as an Android developer:

Get the source code for this video on GitHub:
Рекомендации по теме
Комментарии
Автор

I love the workings you have provided, I followed the steps to migrate ksp for room/dagger successfully. Thanks for always keeping us ahead in the Android Game.

tonnie
Автор

Thanks a lot. You're one of the best Android teachers!❤

_angel_mohammadi
Автор

❗Heads-up❗:
Make sure you declare the ksp plugin in root gradle but apply in app gradle.
If you don't declare it in root, you'll run into gradle issues.

Zeeshan-Syed
Автор

Yeeey! Finally KSP is supported by Dagger-Hitl! 🥳

PaweSzymanski-gkpo
Автор

The source to check the compatible version of Kotlin supporting ksp version makes this video still useful 👍

shekhar
Автор

android development is getting better and faster

reksafitrananda
Автор

Do you have any issues with hilt testing? I'm getting lots of error. I guess since this is the first supported version there are many issues with testing.

MegaRockandroll
Автор

Hey phillip, So I am using kotlin compiler version 1.9.10 and everything with KSP and other dependencies are set but when I try to implement Hilt dependencies just the ones you used here Im met with error "Unsupported class file major version 63"... Im using Hilt version 2.48.1

chiragredij
Автор

Why when we adding ksp at top level gradle in the end we marked it like apply false?

androidkotlin-
Автор

@Philipp why you changed to compileOptions {
sourceCompatibility = JavaVersion.VERSION_18

Should I consider move away from JavaVersion.VERSION_1_8?

EnelAlmonte
Автор

it would've been much better if you had display both kapt and ksp's build times

jimpauloovejera
Автор

Are you using a beta or canary version of Android Studio? On the latest stable version AGP 8.2.xx is not supported like you show here.

zoltanbalazskozma
Автор

Thanks. Just few weeks ago I tried KSP but it seems it has problems with Dagger Hilt. There was warning saying something was not recognized. I'm glad that latest Dagger Hilt supports KSP.

phuang
Автор

@Philipp let's say you want to keep databinding or something that doesn't support KSP yet, if we use Kapt for those and KSP for Room and Hilt, do we get some improvements in build times? or we only get faster builds if we give up on Kapt entirely?

kalibra
Автор

i tried it and it work for debug, bug release build has minify issue.

JeffreyLiu
Автор

Can we use both in our project? KAPT and KSP?

safionweb
Автор

you did good, the only downside is that the version for the hilt compiler and plugin is now 2.50 and the need of jvm in the project gradle file for it to work

animehub
Автор

how can we use KSP and Navigation component together? I get that error below;
Caused by: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

aliveli
Автор

One point nine point zero point got point nice point video X)

bro_chenzox
Автор

Can you make an app and publish it with your own server in the computer ? Data is live

GeorgeKarlR