MostafaMohamed2002 / Todo-Tracker-Compose

Todo Tracker Compose: A streamlined task management app built with Jetpack Compose for effortless to-do tracking.
3 stars 0 forks source link

Questions about Gradle File #1

Open Boodyahmedhamdy opened 2 weeks ago

Boodyahmedhamdy commented 2 weeks ago

First, Congratulations for building this amazing app

i have several questions about the application but let's focus on build.gradle.kts file for app module:

  1. in plugins block. why you imported in multiple lines instead of single line? is there any reason ?
    alias(  
    libs  
    .plugins  
    .jetbrains  
    .kotlin  
    .android,  
    )
  2. why did you commented compose options ?
    //    composeOptions {  
    //        kotlinCompilerExtensionVersion = "1.5.1"  
    //    }

I hope you find those questions meaningful and generously answer them. Thanks ❤

MostafaMohamed2002 commented 2 weeks ago

Thank you for your kind words❤️ 1- i was trying ktlint and it did this , i should configure it properly 2- there is no need to use kotlinCompilerExtensionVersion since i migrated to kotlin 2.0 see this for more , let me know if you have any other questions 😊

Boodyahmedhamdy commented 1 week ago

Thanks for this answer and the useful article. I am still in the revision phase so other questions are coming 😂. I will post them (God-Willing) on the same thread.